Various ruby-1.9.x compile fixes including patch from Nibble
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
00880434ef
commit
830de4d2f1
7 changed files with 17 additions and 10 deletions
|
|
@ -146,7 +146,8 @@
|
|||
VALUE inspect() const
|
||||
{
|
||||
VALUE tmp;
|
||||
VALUE str = rb_str_new2( swig::type_name< pair >() );
|
||||
const char *type_name = swig::type_name< pair >();
|
||||
VALUE str = rb_str_new2( type_name );
|
||||
str = rb_str_cat2( str, " (" );
|
||||
tmp = swig::from( $self->first );
|
||||
tmp = rb_obj_as_string( tmp );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue