Fix minor bug: a missing # causing a SWIG error on li_cdata test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
43f36d52ad
commit
ac9ed4789f
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ typedef struct SWIGCDATA {
|
||||||
* Typemaps for returning binary data
|
* Typemaps for returning binary data
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
if SWIGPERL
|
#if SWIGPERL
|
||||||
%typemap(out) SWIGCDATA {
|
%typemap(out) SWIGCDATA {
|
||||||
ST(argvi) = sv_newmortal();
|
ST(argvi) = sv_newmortal();
|
||||||
sv_setpvn((SV*)ST(argvi++),$1.data,$1.len);
|
sv_setpvn((SV*)ST(argvi++),$1.data,$1.len);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue