search for: rb_f_sprintf

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

2007 Jan 23
0
[853] trunk/wxruby2/swig: Replace deprecated STR2CSTR with StringValuePtr
...1:23:36 UTC (rev 853) </span><span class="lines">@@ -25,7 +25,7 @@ </span><span class="cx"> void log_message(int argc, VALUE *argv, VALUE self) </span><span class="cx"> { </span><span class="cx"> VALUE str = rb_f_sprintf(argc, argv); </span><del>- wxLogMessage(wxString(STR2CSTR(str), wxConvUTF8)); </del><ins>+ wxLogMessage(wxString(StringValuePtr(str), wxConvUTF8)); </ins><span class="cx"> </span><span class="cx"> } </span><span cla...