Simple example of DISOWN typemap working correctly.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Kevin Ruland 2005-09-07 01:56:03 +00:00
commit 595ecd02ea
6 changed files with 179 additions and 0 deletions

View file

@ -0,0 +1,12 @@
/* File : example.i */
%module example
%{
#include "example.h"
%}
%apply SWIGTYPE *DISOWN {(Shape *s)};
/* Let's just grab the original header file here */
%include "example.h"