summaryrefslogtreecommitdiff
path: root/Lib/ocaml/ocaml.i
diff options
context:
space:
mode:
authorArt Yerkes <ayerkes@speakeasy.net>2003-06-08 03:49:09 +0000
committerArt Yerkes <ayerkes@speakeasy.net>2003-06-08 03:49:09 +0000
commitdd64ccf0ae8d31731ecdb51b1cf0771abc760df3 (patch)
tree7578b60a40cfcc1708b995ffdbc8bfa27e699f4f /Lib/ocaml/ocaml.i
parentf45fd1a36ea2e44d38512262668aa302279d4ed3 (diff)
downloadswig-dd64ccf0ae8d31731ecdb51b1cf0771abc760df3.tar.gz
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/SWIG@4872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/ocaml/ocaml.i')
-rw-r--r--Lib/ocaml/ocaml.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/ocaml/ocaml.i b/Lib/ocaml/ocaml.i
index 491da959a..35139f53f 100644
--- a/Lib/ocaml/ocaml.i
+++ b/Lib/ocaml/ocaml.i
@@ -20,6 +20,8 @@
%insert(runtime) "ocaml.swg"
/*#endif*/
+%insert(classtemplate) "class.swg"
+
/* Definitions */
#define SWIG_malloc(size) swig_malloc(size, FUNC_NAME)
#define SWIG_free(mem) free(mem)