- Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented - Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python - Convert inline into SWIGINLINE git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cb3ef63778
commit
b83fe6bd77
14 changed files with 140 additions and 41 deletions
|
|
@ -30,6 +30,9 @@ Foo *makeFoo() {
|
|||
int fooCount() {
|
||||
return g_fooCount;
|
||||
}
|
||||
|
||||
void do_stuff(Foo *f) {
|
||||
}
|
||||
%}
|
||||
|
||||
%extend Foo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue