Merge pull request #1398 from swig-fortran/missing-includes
Add missing includes to library and test cases
This commit is contained in:
commit
3e019977c5
25 changed files with 106 additions and 50 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