Rb_class_new_instance behaves strange

Hi,

···

At Thu, 17 Apr 2003 07:35:39 +0900, Lyle Johnson wrote:

Please replace all STR2CSTR to StringValue, and apply this
patch.

Don’t you mean replace all STR2CSTR with StringValuePtr? I think
StringValue() returns a String object (a VALUE) while StringValuePtr()
returns the underlying C character array.

You’re correct of course. Just my mistake, sorry.


Nobu Nakada

Thanks everyone for solving this problem :slight_smile:

BTW. When can we expect to see SWIG 3.1.20 ?

···


Simon Strandgaard

Simon Strandgaard wrote:

When can we expect to see SWIG 1.3.20?

Don’t know, but you don’t have to wait. Just follow the instructions at
this page:

http://www.swig.org/cvs.html

to check out the CVS sources, which have the latest fixes since 1.3.19.