fix example back to use old typemaps rules

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-02-22 19:58:42 +00:00
commit 7ca386e731

View file

@ -2,7 +2,7 @@
%apply int *INPUT {int *bar};
%typemap(out, fragment=SWIG_From_frag(int)) int * Foo::foo {
%typemap(out, fragment=SWIG_From_frag(int)) int *foo {
if ($1) {
$result = SWIG_From(int)(*$1);
} else {