Remove duplicate typemaps
This commit is contained in:
parent
f5e2d044df
commit
a0fed47163
1 changed files with 0 additions and 9 deletions
|
|
@ -201,15 +201,6 @@
|
|||
;;;SWIG wrapper code ends here
|
||||
%}
|
||||
|
||||
#ifdef __cplusplus
|
||||
%typemap(out) SWIGTYPE "$result = new $1_type($1);";
|
||||
#else
|
||||
%typemap(out) SWIGTYPE {
|
||||
$result = ($&1_ltype) malloc(sizeof($1_type));
|
||||
memmove($result, &$1, sizeof($1_type));
|
||||
}
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
/* name conversion for overloaded operators. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue