add <stdlib.h> for malloc and lua
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6c4bc0378d
commit
dcf0727ee1
5 changed files with 17 additions and 0 deletions
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
%module newobject2
|
||||
|
||||
%{
|
||||
#include <stdlib.h>
|
||||
%}
|
||||
|
||||
%{
|
||||
/* Global initialization (not wrapped) */
|
||||
int g_fooCount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue