[lua] added %luacode feature, documentation & examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39ad0f01f6
commit
e543cd9040
12 changed files with 279 additions and 25 deletions
|
|
@ -228,5 +228,8 @@ SWIG_fail;%}
|
|||
/* -----------------------------------------------------------------------------
|
||||
* extras
|
||||
* ----------------------------------------------------------------------------- */
|
||||
// this %define is to allow insertion of lua source code into the wrapper file
|
||||
#define %luacode %insert("luacode")
|
||||
|
||||
|
||||
/* ------------------------------ end lua.swg ------------------------------ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue