]> gitweb @ CieloNegro.org - bindings-apr.git/blobdiff - cbits/helper_apr.c
C string macros should be treated as global arrays.
[bindings-apr.git] / cbits / helper_apr.c
diff --git a/cbits/helper_apr.c b/cbits/helper_apr.c
new file mode 100644 (file)
index 0000000..b80cbaf
--- /dev/null
@@ -0,0 +1,13 @@
+#include <bindings.cmacros.h>
+#include <apr.h>
+
+BC_GLOBALARRAY(APR_SSIZE_T_FMT     , char)
+BC_GLOBALARRAY(APR_SIZE_T_FMT      , char)
+BC_GLOBALARRAY(APR_OFF_T_FMT       , char)
+BC_GLOBALARRAY(APR_PID_T_FMT       , char)
+BC_GLOBALARRAY(APR_INT64_T_FMT     , char)
+BC_GLOBALARRAY(APR_UINT64_T_FMT    , char)
+BC_GLOBALARRAY(APR_UINT64_T_HEX_FMT, char)
+
+BC_GLOBALARRAY(APR_EOL_STR         , char)
+BC_GLOBALARRAY(APR_DSOPATH         , char)