Bindings.cpp
#2
The file is auto-generated, by the ToLua+ program. It scans the header files and creates Lua bindings for specifically marked classes and functions - that's what all the "// tolua_export" comments are for.
Normally to export a function to the Lua API, you need to mark it with the comment, or make sure it is inside between "// tolua_begin" and "// tolua_end". Then, if you're on windows, you need to manually update the Bindings file, by running script file $/src/Bindings/AllToLua.bat. Linux build system should take care of this step automatically.
Reply
Thanks given by:


Messages In This Thread
Bindings.cpp - by Narroo - 02-12-2014, 11:52 AM
RE: Bindings.cpp - by xoft - 02-12-2014, 04:34 PM
RE: Bindings.cpp - by Narroo - 02-13-2014, 09:17 AM



Users browsing this thread: 1 Guest(s)