From 6bae3e508691a63805053ebf94b3cb1500873c82 Mon Sep 17 00:00:00 2001 From: Kurt Thiemann Date: Mon, 8 Apr 2024 15:41:57 +0200 Subject: [PATCH] move php ffi constants above info comment because they otherwise don't work? --- build/includes/info.h | 6 +++--- includes/librados.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build/includes/info.h b/build/includes/info.h index 56e9d05..8233793 100644 --- a/build/includes/info.h +++ b/build/includes/info.h @@ -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` @@ -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" - diff --git a/includes/librados.h b/includes/librados.h index 9c5df90..eca684f 100644 --- a/includes/librados.h +++ b/includes/librados.h @@ -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. @@ -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