Fix missing include in SWIG typemap

This commit is contained in:
Seth R Johnson 2017-05-09 14:36:14 -04:00
commit c1258323b1
4 changed files with 35 additions and 17 deletions

View file

@ -5,6 +5,12 @@
* pointer objects.
* ----------------------------------------------------------------------------- */
#ifndef __cplusplus
// C uses free/calloc/malloc
%include "swigfragments.swg"
%fragment("<stdlib.h>");
#endif
/* -----------------------------------------------------------------------------
* %pointer_class(type,name)
*