-
Roman Tsisyk authored
This patch adds `src/module.h` header file with definition of all public API functions suitable to use in Lua/C modules for Tarantool. This header is automatically generated from src/*.h by CMake (`make generate_module_api`) by extracting code blocks between /** \cond public */ /* \endcond public */ Doxygen-style comments. Definitions of functions in module.h are frozen and must not be changed by future commits/releases. A new test case `app/module_api` is added to check compilation, linkage and loading of Lua modules and functionality of provided API functions. Other changes: * Convert mysql and pg to use module.h and prepare to convert to .c * Fix includes in say.h, coeio.h * Rename luaL_pushnumber64 to luaL_pushuint64 and luaL_pushinumber64 to luaL_pushint64 * Add LUA_API macros to public luaL_* functions (actually adds extern "C")
Roman Tsisyk authoredThis patch adds `src/module.h` header file with definition of all public API functions suitable to use in Lua/C modules for Tarantool. This header is automatically generated from src/*.h by CMake (`make generate_module_api`) by extracting code blocks between /** \cond public */ /* \endcond public */ Doxygen-style comments. Definitions of functions in module.h are frozen and must not be changed by future commits/releases. A new test case `app/module_api` is added to check compilation, linkage and loading of Lua modules and functionality of provided API functions. Other changes: * Convert mysql and pg to use module.h and prepare to convert to .c * Fix includes in say.h, coeio.h * Rename luaL_pushnumber64 to luaL_pushuint64 and luaL_pushinumber64 to luaL_pushint64 * Add LUA_API macros to public luaL_* functions (actually adds extern "C")