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

@ -3,6 +3,7 @@
%newobject copy_str;
%inline %{
#include <stdlib.h>
#include <string.h>
const char* copy_str(const char* str) {
size_t len = strlen(str);