Marcelo Matus
251e396fc7
activating the keyword warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 11:00:19 +00:00
William S Fulton
a0cb4442d7
warning/error fixes for Visual Studio
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:58:41 +00:00
William S Fulton
49639577e0
use exception specification instead of %exception to handle STL error checking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
6f21f0d74a
added missing constructors for std::pair
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
John Lenz
f6964f285f
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
d720ef3add
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 01:00:38 +00:00
Art Yerkes
b1c2cd26b4
Uniform SWIGSTATIC on all prototypes.
...
#ifdef __GNUC__ -> static inline to remove warning spew using gcc
typemaps: tweaks for arrays, enums
ocaml.cxx: remove Swig. qualifier everywhere it's not needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +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
William S Fulton
79bec67051
fixes for directors and default arguments in the constructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
Art Yerkes
01f438f143
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@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
a8add424e4
Some delayed maintenance.
...
Fixes for multimodule targets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
Marcelo Matus
c1ed709013
fix #if __cplusplus problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
William S Fulton
96613ca3b5
Commit for Art Yerkes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-02 20:42:10 +00:00
Marcelo Matus
39bdc96e3e
added ocaml keywords
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 07:12:42 +00:00
Art Yerkes
fbb9c8481d
shapes example: slight correction to depth map.
...
makedebugtop: include swig.cmo
Lib: factored out more common code, slightly reorganized class type.
added director define and exceptions.
std_string: length from the original ocaml string (no longer depends on
null termination)
ocamldec.swg/ocaml.swg: added caml_string_len
Examples/Makefile.in: quiet about checking out files.
Ocaml.cxx:
Fixed abstract director test case.
Include/exclude director.swg based on directors being enabled.
Final edits for 1.3.20, barring bugs being discovered.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:15:07 +00:00
Art Yerkes
08d4b05e03
All test cases compile except director_abstract. I clued from what
...
William Fulton and Dave were talking about regarding the template parameters
and (), and this solved a bunch of wierd little problems I was having.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 08:50:39 +00:00
Art Yerkes
0de2a4a8f8
Added `` for C enums.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:25:26 +00:00
Art Yerkes
c12636c0f1
Added string.h include.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:59:03 +00:00
Art Yerkes
e7460b2ddb
Added sizeof operator for classes (and struct, unions), enabled with
...
"sizeof"="1" on the module node.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:58:12 +00:00
Art Yerkes
4c58bc268e
Added SWIG_contract_assert.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 08:20:12 +00:00
Art Yerkes
c760caa0f2
Missing assert.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 23:47:46 +00:00
Art Yerkes
074a0e1e61
Final edits. Corrected single, zero arg cases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:54:12 +00:00
Art Yerkes
93008f32ba
Slight type adjustment for invoke. This makes swigp4 a bit easier to
...
deal with.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 06:10:50 +00:00
Art Yerkes
f9ea7fd22a
Some nice last-minute goodies for the camlp4 module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 05:56:12 +00:00
Art Yerkes
78fef8466a
preamble for swig modules now that a separate Swig module exists.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:24:31 +00:00
Art Yerkes
e92f0601a7
Added convert_c_obj function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:22:51 +00:00
Art Yerkes
372c453cac
Cleaner interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:20:40 +00:00
Art Yerkes
b60aedb6c5
Forgot to add files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:18:41 +00:00
Art Yerkes
c1e6a38f30
More orthodox way of building the Swig module. I'm working on making
...
modules easier to link together by isolating the common types and functions
in a module that they all open.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 13:46:42 +00:00
Art Yerkes
4951d70c53
Director related changes, other edits.
...
director_wombat testcase, as well as all others except director_abstract
compile.
Four test cases fail.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 04:01:27 +00:00
Art Yerkes
4107d3fa08
Working directors again. I need to focus on director_abstract testcase.
...
TODO: my ranting on typing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-25 06:46:17 +00:00
William S Fulton
bd32960613
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:16:38 +00:00
William S Fulton
f302d8bbdb
__OCAML__SWIG__MAXVALUES removed. It wasn't being used. Is this okay Art?
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:15:39 +00:00
William S Fulton
1a18a41044
Corrected __cpluscplus typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:14:35 +00:00
William S Fulton
9ecbd6f614
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
...
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +00:00
William S Fulton
f569dd135d
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
6e052aeb1d
First round of director mods
...
- Removed asserts
- The unused __DIRECTOR__ base class default constructor removed. I've used the conventional approach of having no default constructor rather than a private one (declaring it private doesn't serve any useful purpose when this constructor is not wanted).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +00:00
Luigi Ballabio
10138e60b9
Typemap for size_t applied to std::size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Luigi Ballabio
8c35d20048
std::pair added (but not very much tested)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
Art Yerkes
310751dc48
Added class template support (removes text of ocaml class definition from swig
...
executable). Now, changes to the implementation of classes can be made without
affecting SWIG itself.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-08 03:49:09 +00:00
Art Yerkes
d2cd68c7cc
Typedef_mptr test (with runme).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 16:19:28 +00:00
Art Yerkes
a1ffa6afda
Added minherit test + runme.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 15:16:32 +00:00
Art Yerkes
0f99021074
All test cases work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:29:38 +00:00
Art Yerkes
0d37f3609d
Three test cases remaining. Gotta fix em all!
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:01:56 +00:00
Art Yerkes
d70fd338be
Four failed test cases remaining.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 02:04:00 +00:00
Art Yerkes
2289a0009a
Fixed two test cases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 01:42:57 +00:00
Art Yerkes
fdf7d97330
Added <assert.h>. I forgot it and GCC-3.3 no longer includes it from
...
any other header I use.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 02:36:46 +00:00
Art Yerkes
2695aede2d
Removed runtime lib. It's not needed anymore.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 17:59:31 +00:00
Luigi Ballabio
65cffcce15
Miscellaneous patches from users
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 07:41:56 +00:00