diff options
author | Pixel <pixel@nobis-crew.org> | 2010-06-14 23:47:31 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2010-06-14 23:47:31 -0700 |
commit | 7c0c85a86aa73c0c495523f994f8412e377a8195 (patch) | |
tree | 29929fdc4390224b3a4f8b728d50ae5dfc3589ce /im/include/imlua.h | |
parent | 5000908b9b2761854951cea3e7dad90be76ffd59 (diff) |
Upgrading im to 3.6
Diffstat (limited to 'im/include/imlua.h')
-rwxr-xr-x | im/include/imlua.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/im/include/imlua.h b/im/include/imlua.h index 5714dff..ad61889 100755 --- a/im/include/imlua.h +++ b/im/include/imlua.h @@ -11,23 +11,13 @@ extern "C" { #endif -/** \defgroup imlua IM Lua 5 Binding +/** \defgroup imlua ImLua 5 Binding Reference * \par * Binding for the Lua 5 scripting language. \n * Lua 5.1 Copyright (C) 1994-2005 Lua.org, PUC-Rio \n * R. Ierusalimschy, L. H. de Figueiredo & W. Celes \n * http://www.lua.org * \par - * The name of the functions were changed because of the namespace "im" and because of the object orientation. \n - * As a general rule use: -\verbatim - imXxx -> im.Xxx - IM_XXX -> im.XXX - imFileXXX(ifile,... -> ifile:XXX(... - imImageXXX(image,... -> image:XXX(... -\endverbatim - * All the objects are garbage collected by the Lua garbage collector. - * \par * See \ref imlua.h * \ingroup util */ @@ -44,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); @@ -51,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). |