search for: gcmarkdeleted

Displaying 12 results from an estimated 12 matches for "gcmarkdeleted".

2005 Aug 12
5
Functions that return objects...
I was investigating why the find dialog causes an error when you close it. It seems that wxRuby2 is returning a new ruby object when you call Event.get_dialog. This causes some big problems when you''re expecting you''re going to get back the same ruby pointer that you put in. In a brief check over the source I don''t see anything that preserves the original ruby
2006 Oct 21
2
common.i patch
The latest cvs version of SWIG breaks a few things. I have patched common.i to fix most of it. There will be some other things later that should be compatible with all versions. Can someone test to see if this compiles with the old version? Roy -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: common.i.patch Url:
2006 Oct 23
0
[710] trunk/wxruby2/swig/common.i: Added extern keyword to Gc functions and moved common header includes to %runtime
...; </span><span class="lines">@@ -27,11 +27,11 @@ </span><span class="cx"> #include <wx/wx.h> </span><span class="cx"> #include <wx/dcbuffer.h> </span><span class="cx"> </span><del>-void GcMarkDeleted(void *); -bool GcIsDeleted(void *); -void GcMapPtrToValue(void *ptr, VALUE val); -VALUE GcGetValueFromPtr(void *ptr); -void GcFreefunc(void *); </del><ins>+extern void GcMarkDeleted(void *); +extern bool GcIsDeleted(void *); +extern void GcMapPtrToValue(void *ptr, VALUE val); +extern VA...
2007 Mar 15
6
Patch to 0.0.39
Hi I''m developing software using wxruby2. At first I tried to use wxruby 0.6 but I couldn''t live without some of those new funky features :) So, instead of writing my own code, I got a bit sidetracked and wrote http://rubyforge.org/tracker/index.php?func=detail&aid=9297&group_id=35&atid=220 instead. Seeing as this is my first foray in to the innards of wxruby2, I
2007 May 21
0
[1024] trunk/wxruby2/swig: Memory mgmt: defs and implementation of new memory management; strip
...t;lines">@@ -32,27 +32,9 @@ </span><span class="cx"> #error "This version of wxRuby requires WxWidgets 2.8.3 or greater" </span><span class="cx"> #endif </span><span class="cx"> </span><del>-extern void GcMarkDeleted(void *); -extern bool GcIsDeleted(void *); -extern void GcMapPtrToValue(void *ptr, VALUE val); -extern VALUE GcGetValueFromPtr(void *ptr); -extern void GcFreefunc(void *); - </del><span class="cx"> extern VALUE mWxruby2; </span><span class="cx"> %} </s...
2007 May 04
0
[1004] trunk/wxruby2/swig/common.i: Updated wxWidgets version check
...3" </del><ins>+#if ! wxCHECK_VERSION(2,8,3) +#error "This version of wxRuby requires WxWidgets 2.8.3 or greater" </ins><span class="cx"> #endif </span><span class="cx"> </span><span class="cx"> extern void GcMarkDeleted(void *); </span></span></pre> </div> </div> </body> </html>
2007 Feb 10
0
[857] trunk/wxruby2/swig/common.i: Add test for suitable version of wxWidgets library
...gt;<span class="cx"> #include <wx/dcbuffer.h> </span><span class="cx"> </span><ins>+ +#if ! wxCHECK_VERSION(2,6,3) +#error "wxRuby requires WxWidgets version 2.6.3" +#endif + </ins><span class="cx"> extern void GcMarkDeleted(void *); </span><span class="cx"> extern bool GcIsDeleted(void *); </span><span class="cx"> extern void GcMapPtrToValue(void *ptr, VALUE val); </span></span></pre> </div> </div> </body> </html>
2007 May 05
0
[1014] trunk/wxruby2/swig/common.i: Undo broken commit
...t; </span><span class="cx"> </span><span class="cx"> </span><ins>+#if ! wxCHECK_VERSION(2,8,3) +#error "This version of wxRuby requires WxWidgets 2.8.3 or greater" +#endif + </ins><span class="cx"> extern void GcMarkDeleted(void *); </span><span class="cx"> extern bool GcIsDeleted(void *); </span><span class="cx"> extern void GcMapPtrToValue(void *ptr, VALUE val); </span></span></pre> </div> </div> </body> </html>
2007 May 05
0
[1013] trunk/wxruby2/swig/common.i: Run version test at SWIG phase rather than compile phase
...t; </span><span class="cx"> </span><span class="cx"> </span><del>-#if ! wxCHECK_VERSION(2,8,3) -#error "This version of wxRuby requires WxWidgets 2.8.3 or greater" -#endif - </del><span class="cx"> extern void GcMarkDeleted(void *); </span><span class="cx"> extern bool GcIsDeleted(void *); </span><span class="cx"> extern void GcMapPtrToValue(void *ptr, VALUE val); </span></span></pre> </div> </div> </body> </html>
2006 Nov 07
0
[722] trunk/wxruby2/swig: Wx::Choice fixes for get_client_data (AF)
...39;' </ins><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsplines << '' GcMarkDeleted(this);'' </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspline = lines.join(&...
2007 Mar 17
0
[887] branches/wxruby2/wxwidgets_282/swig/fixdeleting.rb: Deleting fix for specific Director classes (Artur Kuptel)
...9;' </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsplines << '' GcMarkDeleted(this);'' </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspline = lines.join(&...
2007 Jun 25
0
[1070] trunk/wxruby2/swig/fixdeleting.rb: Remove old, now unused, fixdeleting script
...intern("@__swig_dead__"), Qtrue);'' -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsplines << '' GcMarkDeleted(this);'' -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspline = lines.join("\n") -&nbsp&nbsp&nbsp&am...