Merge pull request #1398 from swig-fortran/missing-includes

Add missing includes to library and test cases
This commit is contained in:
Olly Betts 2022-02-01 14:05:17 +13:00 • committed by GitHub
commit 3e019977c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 106 additions and 50 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)
*