Marcelo Matus
7afd2f554b
fix SWIGENUM -> enum SWIGTYPE, as is used now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +00:00
Marcelo Matus
a4064070b0
Recover original types in template expansions.
...
Added the module option "tpltreduc" to force Swig to
reduce all the typedef found in a template, usually
as a compiler will do. This allows swig to parse
very ugly template + typedef code, but it can prevent some
typemaps for working.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:57:36 +00:00
Marcelo Matus
f819f7a52b
add test case for template+typedef+typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 00:40:03 +00:00
Marcelo Matus
6c207e1cab
eliminate the reduce/reduce conflicts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 22:08:36 +00:00
William S Fulton
02a16ee971
Removed SwigValueWrapper specialization
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:45:47 +00:00
William S Fulton
c486c70075
Fix to keep gcc-3.4 happy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:18:09 +00:00
Marcelo Matus
2ee658be93
add Robin true/false patch for docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:40:11 +00:00
Marcelo Matus
761d718eb6
add Scott's patch for directors with no members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:39:02 +00:00
Marcelo Matus
3584312a7e
add Robin true/false patch for docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:37:35 +00:00
Marcelo Matus
f35db9aea2
scott's fix for director + def. const.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 18:13:48 +00:00
Marcelo Matus
0a1dd2a422
third attempo to commit, same changes, ie director + nested but no extra shift/reduce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 06:53:04 +00:00
Marcelo Matus
5eedf21fcf
better derived_nested.i fix, no shift/reduce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:32:45 +00:00
Marcelo Matus
ed7501417f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:17:42 +00:00
Marcelo Matus
41b8e7fec9
previous commit incomplete, this one really fix derive_nested.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 01:15:10 +00:00
Marcelo Matus
b4e03805e0
derive_nested.i and using_namespace.i not longer broken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:35:49 +00:00
Marcelo Matus
7c924a5636
fix for proper %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:34:18 +00:00
Marcelo Matus
89771f9b61
fixes for macros + templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:33:36 +00:00
Marcelo Matus
5e67603aa7
better warning for undefined base class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:47 +00:00
Marcelo Matus
67a4137c2c
more ugly template+typedefs+namespace fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:02 +00:00
Marcelo Matus
f5adbd3f6f
%apply also looks for a typedef match if it doesn't find a match at first
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:30:05 +00:00
Marcelo Matus
2bf53ac3af
more derived +nested cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:23:17 +00:00
Marcelo Matus
a76a851c40
more using+namespaces cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:22:50 +00:00
Marcelo Matus
510112f49f
solve using+namespaces (using_namespace.i) and nested+derived classes (derived_nested.i)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:21:40 +00:00
William S Fulton
fc038b0797
wstring directorin typemap fixes from Russell Keith-Magee
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:58:36 +00:00
William S Fulton
417302a5d3
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:46:31 +00:00
William S Fulton
62429d8fc7
Typemaps for std::string member variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:53 +00:00
William S Fulton
d4b19157c3
$dllimport special variable to specify the DllImport attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:10 +00:00
William S Fulton
83247f3df4
-dllimport commandline option and $dllimport special variable to specify the DllImport attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:43:32 +00:00
William S Fulton
6739ff025c
Minor corrections
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:42:08 +00:00
William S Fulton
6522500c90
Default arguments updated
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:40:41 +00:00
Marcelo Matus
dab4e48132
no more zero value accepted for pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:11:25 +00:00
Marcelo Matus
7e4f23332b
test for ref+int overload
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:06:50 +00:00
Marcelo Matus
4607dd57a9
fix ref+int overload
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:04:51 +00:00
Art Yerkes
155471ff1a
Removed unneeded define.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 08:48:05 +00:00
Marcelo Matus
e0d8f56214
delete unused line
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 06:30:40 +00:00
Marcelo Matus
8ac154a748
Fix directors + protected pure virtual members + protected
...
constructor.
Now it doesn't crash, you don't need to use dirprot, and no, it is not
emitting all the protected members, unless dirprot is used.
Swig only emits the protected members or constructors needed to prevent
the compilation for crashing. The rest of the protected members
are emitted when dirprot is used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
Marcelo Matus
30a26cefd9
add nodirprot mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:49:38 +00:00
Marcelo Matus
66402343a5
fix directors + unnamed parameters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:47:57 +00:00
Marcelo Matus
3204181b17
fix wrong warning from keyword + friend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:45:23 +00:00
Marcelo Matus
2a41ec6bf5
fix compactdefarg + const ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 06:45:10 +00:00
Marcelo Matus
8e9b8e584a
fix -oh/-o/-noh, tested before in the wrong directory
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 05:28:04 +00:00
Marcelo Matus
0a97681b20
fix missed check for director_prot_ctor_code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 23:34:10 +00:00
William S Fulton
8ad2d4c7d3
cvs 'conflict indicators' removed (correct ones this time)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:22:00 +00:00
William S Fulton
a7c696a304
cvs 'conflict indicators' removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:20:46 +00:00
William S Fulton
d3470573ef
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:29 +00:00
William S Fulton
484588c561
director enum runtime test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:10 +00:00
William S Fulton
65ed9e7a63
namespace added and a %rename
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:16:33 +00:00
William S Fulton
e03dbc323b
Scott Michel patch #1049496 to fix typesafe and proper Java enums with directors.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:12:36 +00:00
Marcelo Matus
b0f3adf07f
fix for language that don't support directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 08:10:37 +00:00
Marcelo Matus
e54d5cb523
fix another warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:26:49 +00:00