summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscuri <scuri>2009-10-27 19:38:37 +0000
committerscuri <scuri>2009-10-27 19:38:37 +0000
commitd74811ae84f8caebf287eb2fd4cc799fc7dbcee2 (patch)
tree6deaddfd02831020014a163b4bdc251d21b1ac9a /include
parentbc2a19199ee23eb9c416c8bc4a5553ca3828f8f0 (diff)
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r--include/imlua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/imlua.h b/include/imlua.h
index bc07cca..ad61889 100644
--- a/include/imlua.h
+++ b/include/imlua.h
@@ -34,6 +34,7 @@ void imlua_open(void);
int imlua_open(lua_State *L);
int luaopen_imlua(lua_State *L);
+#ifdef __IM_IMAGE_H /* must include im_image.h before this */
/** Pushes an image as a metatable on the stack.
* \ingroup imlua */
void imlua_pushimage(lua_State *L, imImage* image);
@@ -41,6 +42,7 @@ void imlua_pushimage(lua_State *L, imImage* image);
/** Gets an image as a metatable from the stack, checks for correct type.
* \ingroup imlua */
imImage* imlua_checkimage(lua_State *L, int param);
+#endif
/** Initializes the Lua binding of the capture library. \n
* Returns 1 (leaves the "im" table on the top of the stack).