search for: swig_as_voidptr

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

2006 Aug 15
0
Problem with directors and Ruby
...(wxString const &string, int *x, int *y, int *descent, int *externalLeading, wxFont const *font) const { VALUE obj0 = Qnil ; VALUE obj1 = Qnil ; VALUE result; if (swig_get_up()) { wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font); return; } obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&string), SWIGTYPE_p_wxString, 0 ); obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(x), SWIGTYPE_p_int, 0 ); result = rb_funcall(swig_get_self(), rb_intern("GetTextExtent"), 2,obj0,obj1); obj1 should be font and its type should be SWIGTYPE_p_wxFont. I''m using SWIG 1.3.29...