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
|
|
@ -1,6 +1,12 @@
|
|||
/* File : example.i */
|
||||
%module example
|
||||
|
||||
%{
|
||||
extern void add(int *, int *, int *);
|
||||
extern void sub(int *, int *, int *);
|
||||
extern int divide(int, int, int *);
|
||||
%}
|
||||
|
||||
/* This example illustrates a couple of different techniques
|
||||
for manipulating C pointers */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue