search for: rb_str_new3

Displaying 2 results from an estimated 2 matches for "rb_str_new3".

Did you mean: rb_str_new2
2007 Nov 13
1
win32-api idea - wide method first based on $KCODE
...urrently, the Win32::API.new method will search for the function name, then the ''A'' (ANSI) name, and finally the ''W'' (Wide) name. The code looks something like this: fProc = GetProcAddress(hLibrary, TEXT(RSTRING(v_proc)->ptr)); if(!fProc){ VALUE v_ascii = rb_str_new3(v_proc); v_ascii = rb_str_cat(v_ascii, "A", 1); fProc = GetProcAddress(hLibrary, TEXT(RSTRING(v_ascii)->ptr)); if(!fProc){ VALUE v_unicode = rb_str_new3(v_proc); v_unicode = rb_str_cat(v_unicode, "W", 1); fProc = GetProcAddress(hLibrary, TEXT(RSTRI...
2008 Jan 21
0
Wx::GenericDirCtrl Segfault Crash
...) from /usr/lib/libruby.so.1.8 #45 0xb7e48ee9 in Init_heap () from /usr/lib/libruby.so.1.8 #46 0xb7e4938a in rb_gc_mark_maybe () from /usr/lib/libruby.so.1.8 #47 0xb7e49e56 in rb_newobj () from /usr/lib/libruby.so.1.8 #48 0xb7e99cc7 in rb_str_resize () from /usr/lib/libruby.so.1.8 #49 0xb7e99e6b in rb_str_new3 () from /usr/lib/libruby.so.1.8 #50 0xb7e9a672 in rb_str_new2 () from /usr/lib/libruby.so.1.8 #51 0xb77f2e35 in SWIG_Ruby_NewPointerObj () from /usr/lib/ruby/site_ruby/1.8/i586-linux-gnu/wxruby2.so #52 0xb77f6a7a in SwigDirector_wxGenericDirCtrl::ProcessEvent () from /usr/lib/ruby/site_ruby/1...