diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2010-02-13 16:59:41 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2010-02-13 16:59:41 +0000 |
commit | 830de4d2f19335bd2595e48f318029067d3fd8e7 (patch) | |
tree | bd5090ae08ba3cf3fb54fdfb78fd6551f10a776b /Lib/ruby/std_multimap.i | |
parent | 00880434ef2eaf16f72c8de087a5dcc13d9f4c47 (diff) | |
download | swig-830de4d2f19335bd2595e48f318029067d3fd8e7.tar.gz |
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
Diffstat (limited to 'Lib/ruby/std_multimap.i')
-rw-r--r-- | Lib/ruby/std_multimap.i | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/ruby/std_multimap.i b/Lib/ruby/std_multimap.i index 7fec50de1..31795c768 100644 --- a/Lib/ruby/std_multimap.i +++ b/Lib/ruby/std_multimap.i @@ -115,7 +115,8 @@ { MultiMap::iterator i = $self->begin(); MultiMap::iterator e = $self->end(); - VALUE str = rb_str_new2( swig::type_name< MultiMap >() ); + const char *type_name = swig::type_name< MultiMap >(); + VALUE str = rb_str_new2( type_name ); str = rb_str_cat2( str, " {" ); VALUE tmp; while ( i != e ) |