Displaying 5 results from an estimated 5 matches for "enddef".
Did you mean:
endef
2007 May 21
0
[1024] trunk/wxruby2/swig: Memory mgmt: defs and implementation of new memory management; strip
...<span class="cx"> %include "typedefs.i"
</span><span class="cx"> %include "typemap.i"
</span><del>-
-#
-# Protect certain classes from the GC
-#
-%define GC_NEVER(kls)
-%feature("freefunc") kls "GcFreefunc";
-%enddef
-
-#
-# This may do something someday
-#
-%define GC_ALWAYS(klass)
-%enddef
</del><ins>+%include "memory_management.i"
</ins></span></pre></div>
<a id="trunkwxruby2swigmemory_managementi"></a>
<div class="addfile">&...
2007 May 22
0
[1032] trunk/wxruby2/swig: Preserve Sizers associated with Windows from GC; fix several sample
...t;
</span><span class="cx"> // Macro definitions.
</span><span class="lines">@@ -33,27 +34,39 @@
</span><span class="cx"> %feature("freefunc") kls "GcNullFreeFunc";
</span><span class="cx"> %enddef
</span><span class="cx">
</span><del>-// Strategy for windows that aren''t top-level windows.
-// Here, the C++ objects are destroyed automatically by WxWidgets when the
-// frame that contains them is closed and destroyed
</del><ins>+// Strate...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...</span><span class="cx"> // Macro definitions.
</span><span class="lines">@@ -48,11 +49,13 @@
</span><span class="cx"> %feature("markfunc") kls "GC_mark_wxWindow";
</span><span class="cx"> %enddef
</span><span class="cx">
</span><del>-// Strategy for top-level frames - these are destroyed automatically.
</del><ins>+// Strategy for top-level frames - these are destroyed
+// automatically. Marking is the same as for Windows, plus preservation
+//...
2007 Jul 04
0
[1108] trunk/wxruby2/swig: Revised mem mgmt for Sizers to address more GC crashes in Sizers demo
...ry_management.i        2007-07-04 22:50:43 UTC (rev 1108)
</span><span class="lines">@@ -75,6 +75,16 @@
</span><span class="cx"> %trackobjects;
</span><span class="cx"> %enddef
</span><span class="cx">
</span><ins>+// Sizers attached to windows are automatically destroyed by wxWidgets,
+// so they should not be deleted.
+//
+// TODO - orphaned/unattached sizers are not automatically destroyed -
+// so the freefunc should check for this...
2008 Jan 22
1
install ncdf package on a 64-bit machine
Dear All,
I recently got a 64bit machine and had netcdf-3.6.2 installed. Then I tried
to install ncdf package but got the following error message when using
netcdflib:
gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include
-I/home/ljin/share/R-2.6.1/include
-I. -I/usr/local/include -fpic -g -O2 -c ncdf2.c -o ncdf2.o
gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include