fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b62e405d4b
commit
7022f2091e
51 changed files with 237 additions and 21 deletions
|
|
@ -6,8 +6,10 @@
|
|||
%}
|
||||
|
||||
/* Some functions that manipulate Vectors by value */
|
||||
%inline %{
|
||||
extern double dot_product(Vector a, Vector b);
|
||||
extern Vector vector_add(Vector a, Vector b);
|
||||
%}
|
||||
|
||||
/* Include this because the vector_add() function will leak memory */
|
||||
void free(void *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue