]> gitweb @ CieloNegro.org - bindings-apr.git/blobdiff - cbits/helper_apr_anylock.c
more bindings
[bindings-apr.git] / cbits / helper_apr_anylock.c
diff --git a/cbits/helper_apr_anylock.c b/cbits/helper_apr_anylock.c
new file mode 100644 (file)
index 0000000..a874008
--- /dev/null
@@ -0,0 +1,6 @@
+#include <bindings.cmacros.h>
+#include <apr_anylock.h>
+
+BC_INLINE1(APR_ANYLOCK_LOCK   , apr_anylock_t*, apr_status_t)
+BC_INLINE1(APR_ANYLOCK_TRYLOCK, apr_anylock_t*, apr_status_t)
+BC_INLINE1(APR_ANYLOCK_UNLOCK , apr_anylock_t*, apr_status_t)