summaryrefslogtreecommitdiff
path: root/Lib/ocaml
Commit message (Collapse)AuthorAgeFilesLines
...
* use exception specification instead of %exception to handle STL error checkingWilliam S Fulton2005-07-273-55/+15
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* added missing constructors for std::pairWilliam S Fulton2005-05-251-8/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* - Improve the runtime type sytesmJohn Lenz2005-02-015-42/+37
| | | | | | | | | - 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/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* allow to include the swig runtime code into external user librariesMarcelo Matus2004-11-181-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Uniform SWIGSTATIC on all prototypes.Art Yerkes2004-11-043-41/+71
| | | | | | | | | #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/SWIG@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Removed unneeded define.Art Yerkes2004-10-241-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fixes for directors and default arguments in the constructorWilliam S Fulton2004-10-211-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Updated documentation.Art Yerkes2004-10-171-0/+11
| | | | | | | | 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
* Some delayed maintenance.Art Yerkes2004-10-1710-80/+84
| | | | | | | Fixes for multimodule targets. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix #if __cplusplus problemMarcelo Matus2004-10-061-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Commit for Art YerkesWilliam S Fulton2004-09-021-2/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* added ocaml keywordsMarcelo Matus2003-12-122-0/+69
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* shapes example: slight correction to depth map.Art Yerkes2003-12-049-98/+129
| | | | | | | | | | | | | | | | | 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/SWIG@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* All test cases compile except director_abstract. I clued from whatArt Yerkes2003-12-021-0/+2
| | | | | | | | 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/SWIG@5455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added `` for C enums.Art Yerkes2003-11-231-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added string.h include.Art Yerkes2003-11-231-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added sizeof operator for classes (and struct, unions), enabled withArt Yerkes2003-11-231-2/+6
| | | | | | | "sizeof"="1" on the module node. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added SWIG_contract_assert.Art Yerkes2003-11-231-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Missing assert.hArt Yerkes2003-11-101-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Final edits. Corrected single, zero arg cases.Art Yerkes2003-11-011-13/+21
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Slight type adjustment for invoke. This makes swigp4 a bit easier toArt Yerkes2003-11-012-1/+2
| | | | | | | deal with. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Some nice last-minute goodies for the camlp4 module.Art Yerkes2003-11-011-2/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* preamble for swig modules now that a separate Swig module exists.Art Yerkes2003-10-251-0/+21
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added convert_c_obj function.Art Yerkes2003-10-251-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Cleaner interface.Art Yerkes2003-10-251-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Forgot to add files.Art Yerkes2003-10-252-0/+149
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* More orthodox way of building the Swig module. I'm working on makingArt Yerkes2003-10-222-2/+25
| | | | | | | | 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/SWIG@5197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Director related changes, other edits.Art Yerkes2003-10-226-259/+119
| | | | | | | | | 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/SWIG@5196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Working directors again. I need to focus on director_abstract testcase.Art Yerkes2003-09-251-1/+1
| | | | | | | TODO: my ranting on typing. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)William S Fulton2003-09-231-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* __OCAML__SWIG__MAXVALUES removed. It wasn't being used. Is this okay Art?William S Fulton2003-09-231-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Corrected __cpluscplus typoWilliam S Fulton2003-09-231-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* - Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores ↵William S Fulton2003-09-221-46/+46
| | | | | | | | | | 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/SWIG@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* __DIRECTOR__ renamed Swig::DirectorWilliam S Fulton2003-09-221-84/+87
| | | | | | | SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* typemap name changes:William S Fulton2003-09-203-43/+43
| | | | | | | | | inv => directorin outv => directorout argoutv => directorargout git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* First round of director modsWilliam S Fulton2003-09-201-7/+0
| | | | | | | | - 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/SWIG@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Typemap for size_t applied to std::size_tLuigi Ballabio2003-08-171-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* std::pair added (but not very much tested)Luigi Ballabio2003-07-101-0/+31
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added class template support (removes text of ocaml class definition from swigArt Yerkes2003-06-083-3/+64
| | | | | | | | 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/SWIG@4872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Typedef_mptr test (with runme).Art Yerkes2003-06-061-12/+24
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added minherit test + runme.Art Yerkes2003-06-061-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* All test cases work.Art Yerkes2003-06-061-2/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Three test cases remaining. Gotta fix em all!Art Yerkes2003-06-061-15/+31
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Four failed test cases remaining.Art Yerkes2003-06-061-3/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fixed two test cases.Art Yerkes2003-06-062-1/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added <assert.h>. I forgot it and GCC-3.3 no longer includes it fromArt Yerkes2003-06-021-0/+1
| | | | | | | any other header I use. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Removed runtime lib. It's not needed anymore.Art Yerkes2003-05-192-19/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Miscellaneous patches from usersLuigi Ballabio2003-04-021-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* All but four test cases work. I'm going to leave these for afterward.Art Yerkes2003-03-205-125/+168
| | | | | | | | | | I've moved completely away from the "value" type to "caml_value_t". Although a bit painful, this will make things easier for me. I seem to be seeing quite a few things that use the word value as a function, type, etc, and wanted to get something that doesn't collide. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added:Art Yerkes2003-03-199-198/+374
| | | | | | | | | | Type registration. Correct support for casting. Proper type safety. Changed: ocaml.swg: Correct casts, declaration order for C ocamldec.swg: Removed problematic forward declarations without array index. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22