Minor fixes:
Fix crashing bug when compiling with MSVC. Fix print of packed type of void*. Have namespaces always invoke members as statics/globals. Make SWIG_init_user function static. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ebf910f755
commit
1f38f3db67
3 changed files with 18 additions and 12 deletions
|
|
@ -122,7 +122,7 @@ public:
|
|||
|
||||
|
||||
Printf(s_global_tab, "\nstatic const struct swig_octave_member swig_globals[] = {\n");
|
||||
Printf(f_init, "void SWIG_init_user(octave_swig_type* module_ns)\n{\n");
|
||||
Printf(f_init, "static void SWIG_init_user(octave_swig_type* module_ns)\n{\n");
|
||||
|
||||
if (!CPlusPlus)
|
||||
Printf(f_header,"extern \"C\" {\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue