From d74811ae84f8caebf287eb2fd4cc799fc7dbcee2 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 27 Oct 2009 19:38:37 +0000 Subject: *** empty log message *** --- include/imlua.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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). -- cgit v1.2.3