SF patch #3394339 from Torsten Landschoff - new option -nomoduleglobal to disable installing the module table into the global namespace. Require call also returns the module table instead of a string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
61124e61a7
commit
932f47a845
8 changed files with 87 additions and 11 deletions
5
Examples/test-suite/lua_no_module_global.i
Normal file
5
Examples/test-suite/lua_no_module_global.i
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%module lua_no_module_global
|
||||
%{
|
||||
const char *hi_mom() { return "hi mom!"; }
|
||||
%}
|
||||
const char *hi_mom();
|
||||
Loading…
Add table
Add a link
Reference in a new issue