Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/facebook/luaffifb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ffi.h
diff options
context:
space:
mode:
authorJames R. McKaskill <james@foobar.co.nz>2012-04-23 07:42:45 +0400
committerJames R. McKaskill <james@foobar.co.nz>2012-04-23 07:42:45 +0400
commitba38f94673ab4dc874255ae8d8852ead4b3fe4d8 (patch)
treebcdc8c8182459307f4e35209408a52184bd8d1c9 /ffi.h
parentd0204c3b152d57b95fcf18802bca4b2248768673 (diff)
Add support for exported global variables.
Fixes #7
Diffstat (limited to 'ffi.h')
-rw-r--r--ffi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffi.h b/ffi.h
index 85c278e..7b4fef6 100644
--- a/ffi.h
+++ b/ffi.h
@@ -286,6 +286,7 @@ enum {
UNION_TYPE,
STRUCT_TYPE,
FUNCTION_TYPE,
+ FUNCTION_PTR_TYPE,
};
#define CHAR_TYPE ((((char) -1) > 0) ? UINT8_TYPE : INT8_TYPE)