search for: rubyclass

Displaying 5 results from an estimated 5 matches for "rubyclass".

2003 Nov 13
7
modified classes
-- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ -------------- next part -------------- A non-text attachment was scrubbed... Name:
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...s {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1042</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-31 17:19:45 -0400 (Thu, 31 May 2007)&...
2005 May 02
3
where is destructors?
...wrapped wxwidgets objects in wxruby? Is there some problems? This is a patch: ================================================================ --- src/bitmap.cpp 30 Nov 2003 22:54:48 -0000 1.2 +++ src/bitmap.cpp 2 May 2005 11:11:58 -0000 @@ -32,10 +32,16 @@ rb_define_method(rubyClass, "convert_to_image", VALUEFUNC(WxBitmap::ConvertToImage), 0); } +void WxBitmap_free(wxBitmap *bmp) { + if(bmp) { + delete bmp; + }; +}; + VALUE WxBitmap::alloc(VALUE self) { - return Data_Wrap_Struct(self, 0, 0, 0); + return Data_Wrap_Struct(self, 0, WxBitmap_free...
2011 Oct 26
8
IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type
...39;'t have ruby instance variables after all) Marshal.load does 2 things: 1. Reads any ruby instance variables out into an Attributes dictionary 2. Uses reflection to find any non-public Constructor(SerializationInfo, StreamingContext) and invoke it. For ruby types, this finds the protected RubyClass(SerializationInfo, StreamingContext) ctor, which calls RubyOps.DeserializeObject, which in turn reads the attributes dictionary and it''s all fine. For CLR types, this finds whatever constructor might exist for the CLR object, which does whatever it does for that type. Unfortunately bec...
2003 Oct 27
5
Windows Build - Down to Run Time Errors
I finally got a clean compile and link for wxRuby. Now I''m down to deciphering runtime errors. Once again, I''m going to pick up on this tomorrow, but I thought I''d post my console output tonight to see if anyone has any thoughts before I tackle this tomorrow. I''m running the same app "minimal.rb" E:\Dev\RubyDev\wxruby\samples\minimal>ruby