search for: gcfreefunc

Displaying 4 results from an estimated 4 matches for "gcfreefunc".

Did you mean: freefunc
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:
2007 Apr 13
0
[959] branches/wxruby2/wxwidgets_282/swig/wx.i: Ensure GC_NEVER handler at least unlinks objects; update to new API for
...sp2007-04-13 19:19:25 UTC (rev 959) </span><span class="lines">@@ -54,9 +54,10 @@ </span><span class="cx"> else return true; </span><span class="cx"> } </span><span class="cx"> </span><del>-void GcFreefunc(void *) </del><ins>+void GcFreefunc(void *ptr) </ins><span class="cx"> { </span><del>- </del><ins>+ SWIG_RubyUnlinkObjects(ptr); + SWIG_RubyRemoveTracking(ptr); </ins><span class="cx"> } </span><span class=&q...
2006 Oct 23
0
[710] trunk/wxruby2/swig/common.i: Added extern keyword to Gc functions and moved common header includes to %runtime
...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 VALUE GcGetValueFromPtr(void *ptr); +extern void GcFreefunc(void *); </ins><span class="cx"> </span><span...
2007 May 21
0
[1024] trunk/wxruby2/swig: Memory mgmt: defs and implementation of new memory management; strip
...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"> %} </span><span class="cx"> </span><span class="cx"> %include "typedefs.i" </span><span class="cx"...