Commit graph

1,228 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
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
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
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
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
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
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
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
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
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
William S Fulton
88fcd40d53 removed some stray debug messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:39:13 +00:00
William S Fulton
74f9ab820b compact default arguments feature (original default argument wrapping mode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
William S Fulton
a889c59f3b - compact default arguments feature (original default argument wrapping mode)
- fix for templated functions in a namespace


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:49:49 +00:00
Marcelo Matus
b1481bfddc disabling the new value wrapper mode until we find more time to document it and adding a flag to switch it on/off
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:33:34 +00:00
Marcelo Matus
a66c87f147 fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:34:04 +00:00
Marcelo Matus
01bde715f4 ix variable wrapping with private assign operator + fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:31:40 +00:00
Marcelo Matus
2e9ba807e8 fix variable wrapping with private assign operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:29:22 +00:00
Marcelo Matus
c388088863 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
7dfcb56369 fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
3771cae538 fix '0' array filling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:22:15 +00:00
Marcelo Matus
f9974297d6 add del_array method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:01:06 +00:00
Marcelo Matus
85905ac7a2 fix typedef_reduce + namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:53:42 +00:00
Marcelo Matus
4897829d0f allow overide the warn codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:50:46 +00:00
Marcelo Matus
6cfa53e462 more fixes for feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:40:39 +00:00
Marcelo Matus
346171f612 allow mixed primitive types in the default type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:39:53 +00:00
Marcelo Matus
5daaf9781b fix callback
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:37:23 +00:00
Marcelo Matus
4804b899db fix feature director/nodirector, fix callback for python, reduce the SwigValueWrapper use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:32:11 +00:00
Marcelo Matus
ced0d5e023 fix for template+default template params, better warnings, better management of extern "java"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:23:20 +00:00
Art Yerkes
e9160c8597 Updated documentation.
Provide a swig_val function which generates a shareable value from a module
specific one in a painless way.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
db57b0d6d8 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
John Lenz
2836e9599d Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
William S Fulton
13926748ee templated function overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:41:17 +00:00
William S Fulton
7f9ad65f89 minor change in warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:36:02 +00:00
William S Fulton
f331ce63c0 minor superficial mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:32:18 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
1ea4adbcd4 add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
2459ec99d1 add initial C99 complex support + long double
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 08:18:14 +00:00