Displaying 8 results from an estimated 8 matches for "compactdefaultargs".
2006 Apr 25
1
Re: -fvirtual and compactdefaultargs (was StaticBoxSizer bug?)
...eliminate redundant wrapper generation? I
> raise this question because prior to declaring RecalcSize() in the
> wxStaticBoxSizer.h, the wrapper generated for it in StaticBoxSizer.cpp
> was a redundant version of what was generated for BoxSizer. Also, how
> about using %feature("compactdefaultargs") across the board (putting it
> in common.i) to reduce the library size? It shaved off 700KB
> of object code for me. For example, Sizer::Add went from having
> 18 wrapper functions to just 6.
>
Hmm. I will test all my samples. I actually think "compactdefaultargs"...
2005 Oct 09
1
[Fwd: Re: [Swig] typemap + default argument bug?]
(Mostly for Roy):
I saw this on the SWIG list, and wonder if it might be related to the
problems we have been seeing where multi-arg typemaps end up invoking
the wrong wrapper methods. (Not the newly-discovered directorout stuff).
Perhaps if we switched to "compactdefaultargs" things would start to
work more sanely. Looking at this section of the SWIG docs, it looks
like it should be safe, and might at least make it easier to diagnose
any problems, if it doesn''t fix them outright:
http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_default_args
Just a...
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 Apr 23
4
*INPUT/*OUTPUT params patches
Hi
The attached patches enable the use of SWIG''s *INPUT *OUTPUT and *INOUT
typemaps as described in the manual. It''s done by including SWIG''s own
''typemaps.i'' file so it''ll allow us to benefit from future upgrades to that.
The problem was a collision between a Ruby macro _ (fixing for old
compilers) and a WxWidgets macro _ (for text
2007 May 05
0
[1014] trunk/wxruby2/swig/common.i: Undo broken commit
...nbsp      2007-05-05 10:06:29 UTC (rev 1014)
</span><span class="lines">@@ -4,12 +4,6 @@
</span><span class="cx"> %feature("director");
</span><span class="cx"> %feature("compactdefaultargs");
</span><span class="cx">
</span><del>-// Check for a correct version of WxWidgets before proceeding any further
-%include <wx/version.h>
-#if ! wxCHECK_VERSION(2,8,3)
-#error "This version of wxRuby requires WxWidgets 2.8.3 or greater"
-#en...
2007 May 05
0
[1013] trunk/wxruby2/swig/common.i: Run version test at SWIG phase rather than compile phase
...nbsp      2007-05-05 10:02:59 UTC (rev 1013)
</span><span class="lines">@@ -4,6 +4,12 @@
</span><span class="cx"> %feature("director");
</span><span class="cx"> %feature("compactdefaultargs");
</span><span class="cx">
</span><ins>+// Check for a correct version of WxWidgets before proceeding any further
+%include <wx/version.h>
+#if ! wxCHECK_VERSION(2,8,3)
+#error "This version of wxRuby requires WxWidgets 2.8.3 or greater"
+#en...
2006 Oct 23
0
[710] trunk/wxruby2/swig/common.i: Added extern keyword to Gc functions and moved common header includes to %runtime
...p;nbsp      2006-10-23 13:46:14 UTC (rev 710)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> %feature("director");
</span><span class="cx"> %feature("compactdefaultargs");
</span><span class="cx">
</span><del>-%{
</del><ins>+%runtime %{
</ins><span class="cx"> // # SWIG 1.3.29 added this new feature which we can''t use (yet)
</span><span class="cx"> #define SWIG...
2007 May 21
0
[1024] trunk/wxruby2/swig: Memory mgmt: defs and implementation of new memory management; strip
...</del><ins>+// Copyright 2004-2007 by Kevin Smith
+// released under the MIT-style wxruby2 license
</ins><span class="cx">
</span><span class="cx"> %feature("director");
</span><span class="cx"> %feature("compactdefaultargs");
</span><span class="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"&g...