Fix missing include in SWIG typemap
This commit is contained in:
parent
0c4491eaae
commit
c1258323b1
4 changed files with 35 additions and 17 deletions
|
|
@ -5,6 +5,12 @@
|
|||
* pointer objects.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifndef __cplusplus
|
||||
// C uses free/calloc/malloc
|
||||
%include "swigfragments.swg"
|
||||
%fragment("<stdlib.h>");
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* %pointer_class(type,name)
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue