cosmetics and remove extra freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
801a09f146
commit
03d7aba73c
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@
|
|||
if (SWIG_IsNewObj(res$argnum)) %delete($1);
|
||||
}
|
||||
#else
|
||||
%typemap(in, noblock=1) const SWIGTYPE & (void *argp) {
|
||||
%typemap(in,noblock=1) const SWIGTYPE & (void *argp) {
|
||||
if (!SWIG_IsOK(SWIG_ConvertPtr($input, &argp, $descriptor, %convertptr_flags))) {
|
||||
%argument_fail(SWIG_TypeError, "$type", $argnum);
|
||||
}
|
||||
|
|
@ -92,9 +92,9 @@
|
|||
$1 = *(%reinterpret_cast(argp, $<ype));
|
||||
}
|
||||
}
|
||||
%typemap(freearg) SWIGTYPE "";
|
||||
#endif
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* --- Output arguments ---
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue