Commit graph

3,365 commits

Author SHA1 Message Date
Marcelo Matus
a87db784ef better warning for undefined base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:47 +00:00
Marcelo Matus
f6070b825f more ugly template+typedefs+namespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:02 +00:00
Marcelo Matus
01dbfb9f5e %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/SWIG@6509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:30:05 +00:00
Marcelo Matus
dceb7f2a10 more derived +nested cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:23:17 +00:00
Marcelo Matus
bb900b3e10 more using+namespaces cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:22:50 +00:00
Marcelo Matus
e2f5c7674c solve using+namespaces (using_namespace.i) and nested+derived classes (derived_nested.i)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:21:40 +00:00
William S Fulton
310e2f9db3 wstring directorin typemap fixes from Russell Keith-Magee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:58:36 +00:00
William S Fulton
05def34d9a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:46:31 +00:00
William S Fulton
11f3ce49ae Typemaps for std::string member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:53 +00:00
William S Fulton
e29eede0af $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:10 +00:00
William S Fulton
909096be81 -dllimport commandline option and $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:43:32 +00:00
William S Fulton
a33332a193 Minor corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:42:08 +00:00
William S Fulton
d70f04e660 Default arguments updated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:40:41 +00:00
Marcelo Matus
72b2faf604 no more zero value accepted for pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:11:25 +00:00
Marcelo Matus
5a0b7df38f test for ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:06:50 +00:00
Marcelo Matus
5a5fe511bf fix ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:04:51 +00:00
Art Yerkes
7a9d46108d Removed unneeded define.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 08:48:05 +00:00
Marcelo Matus
d809efcb2f delete unused line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 06:30:40 +00:00
Marcelo Matus
5023285fb8 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/SWIG@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
Marcelo Matus
aec02530ce add nodirprot mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:49:38 +00:00
Marcelo Matus
94fbf0903b fix directors + unnamed parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:47:57 +00:00
Marcelo Matus
099dfdbefe fix wrong warning from keyword + friend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:45:23 +00:00
Marcelo Matus
8c3bbd578f fix compactdefarg + const ref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 06:45:10 +00:00
Marcelo Matus
2df5b6a736 fix -oh/-o/-noh, tested before in the wrong directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 05:28:04 +00:00
Marcelo Matus
1ecf1e4726 fix missed check for director_prot_ctor_code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 23:34:10 +00:00
William S Fulton
3000d9f51e cvs 'conflict indicators' removed (correct ones this time)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:22:00 +00:00
William S Fulton
143e7f924f cvs 'conflict indicators' removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:20:46 +00:00
William S Fulton
ac12be87ed *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:29 +00:00
William S Fulton
dba6605992 director enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:19:10 +00:00
William S Fulton
702372202f namespace added and a %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:16:33 +00:00
William S Fulton
09ed1c1471 Scott Michel patch #1049496 to fix typesafe and proper Java enums with directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:12:36 +00:00
Marcelo Matus
452b7bedc5 fix for language that don't support directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 08:10:37 +00:00
Marcelo Matus
718b31a8fd fix another warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:26:49 +00:00
Marcelo Matus
114c703acd fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
Marcelo Matus
c600268775 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:36:52 +00:00
Marcelo Matus
a6db836faf add silly abstract case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:23:23 +00:00
John Lenz
0c57969c61 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
8857b4db9a fix compiler warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:29:49 +00:00
Art Yerkes
f68ef6d9f6 Removed clearing of director object reference needed by the fun returned
by new_class.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:17:57 +00:00
Marcelo Matus
9bc6545ff0 fix default varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:15:14 +00:00
Marcelo Matus
c89b776c54 fix example, bad template parameter name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:48:47 +00:00
Marcelo Matus
39e2f975cc Add flag to enabla new C++ casting operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:39 +00:00
Marcelo Matus
cf3f26b5f9 Oops, missing 'else' in the old SwigValueWrapper mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:01 +00:00
William S Fulton
cd22d76972 fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
Marcelo Matus
20b69b4472 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:37:12 +00:00
Marcelo Matus
d27df888dc CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:49 +00:00
Marcelo Matus
335d752a7e rearregment for gcc-2.96 internal error, fix header generation, add -new_vwm and -noh options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:01 +00:00
Marcelo Matus
1decd47b09 add -oh option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:31:27 +00:00
Marcelo Matus
b9832ab0f0 fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
b953de63be Oops, fix lost '!'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:59:54 +00:00