Skip to content

Commit

Permalink
move php ffi constants above info comment because they otherwise don'…
Browse files Browse the repository at this point in the history
…t work?
  • Loading branch information
KurtThiemann committed Apr 8, 2024
1 parent a0e6d2b commit 6bae3e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build/includes/info.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#define FFI_SCOPE "PHP_RADOS_FFI"
#define FFI_LIB "librados.so.2"

/*
This file is generated, do not modify it directly!
To generate this file, run `./bin/generate-headers`, or `./vendor/bin/generate-headers`
Expand All @@ -19,6 +22,3 @@ The source code for these files can be found at https://github.com/ceph/ceph
*/


#define FFI_SCOPE "PHP_RADOS_FFI"
#define FFI_LIB "librados.so.2"

8 changes: 4 additions & 4 deletions includes/librados.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#define FFI_SCOPE "PHP_RADOS_FFI"
#define FFI_LIB "librados.so.2"

/*
This file is generated, do not modify it directly!
To generate this file, run `./bin/generate-headers`, or `./vendor/bin/generate-headers`
if this was installed as a dependency using composer.
GENERATED ON 2024-03-23 12:54:43
GENERATED ON 2024-04-08 13:41:20
This file is generated from librados.h and rados_types.h,
available in the librados-dev package installed when this was generated.
Expand All @@ -19,9 +22,6 @@ The source code for these files can be found at https://github.com/ceph/ceph
*/


#define FFI_SCOPE "PHP_RADOS_FFI"
#define FFI_LIB "librados.so.2"

typedef long int time_t;
typedef long int suseconds_t;
struct timeval
Expand Down

0 comments on commit 6bae3e5

Please sign in to comment.