add <stdlib.h> for malloc and lua
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
06dc2432b7
commit
1b52cf2b97
5 changed files with 17 additions and 0 deletions
|
|
@ -3,6 +3,9 @@
|
|||
// objects that have complicated state.
|
||||
|
||||
%module private_assign
|
||||
%{
|
||||
#include <stdlib.h>
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
class Foo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue