Remove old style typemap declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
56a0905b18
commit
7ffb333c6e
3 changed files with 6 additions and 6 deletions
|
|
@ -33,12 +33,12 @@ Example interface file:
|
|||
<pre>
|
||||
/* define a macro for the struct creation */
|
||||
%define handle_ptr(TYPE,NAME)
|
||||
%typemap(mzscheme,argout) TYPE *NAME{
|
||||
%typemap(argout) TYPE *NAME{
|
||||
Scheme_Object *o = SWIG_NewStructFromPtr($1, $*1_mangle);
|
||||
SWIG_APPEND_VALUE(o);
|
||||
}
|
||||
|
||||
%typemap(mzscheme,in,numinputs=0) TYPE *NAME (TYPE temp) {
|
||||
%typemap(in,numinputs=0) TYPE *NAME (TYPE temp) {
|
||||
$1 = &temp;
|
||||
}
|
||||
%enddef
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue