search for: swig_typecheck_str

Displaying 1 result from an estimated 1 matches for "swig_typecheck_str".

2005 Oct 09
0
[Fwd: Re: [Swig] Re: Object return problem]
...>> %apply wxString& { wxString* } >> >> >> %typemap(varout) wxString { >> $result = rb_str_new2((const char *)$1.mb_str()); >> } >> >> %typemap(typecheck, precedence=SWIG_TYPECHECK_STRING) wxString { >> $1 = (TYPE($input) == T_STRING); >> } >> >> %typemap(typecheck, precedence=SWIG_TYPECHECK_STRING) wxString & { >> $1 = (TYPE($input) == T_STRING); >> } >> >> >> %typemap(typecheck, precedence=SWIG_TYPECHECK_STRING) wx...