Displaying 10 results from an estimated 10 matches for "gcisdeleted".
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
...s="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 VALUE GcGetValueFromPtr(void...
2007 Mar 17
0
[887] branches/wxruby2/wxwidgets_282/swig/fixdeleting.rb: Deleting fix for specific Director classes (Artur Kuptel)
...t; ''#endif''
</span><del>-                        lines << " if (GcIsDeleted(director))"
</del><ins>+                        lines << " if (GcIsDeleted(a...
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
...</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"> %}
</span><span class="cx&quo...
2007 Feb 10
0
[857] trunk/wxruby2/swig/common.i: Add test for suitable version of wxWidgets library
...lt;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
...ot;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
...ot;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>
2007 Jun 25
0
[1070] trunk/wxruby2/swig/fixdeleting.rb: Remove old, now unused, fixdeleting script
...bsp lines << ''#endif''
-                        lines << " if (GcIsDeleted(arg1))"
-                        lines << " {"
-   &nbs...