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
34 lines
771 B
C
34 lines
771 B
C
/* SWIG Configuration File for Ocaml. -*-c-*-
|
|
Modified from mzscheme.i
|
|
This file is parsed by SWIG before reading any other interface
|
|
file. */
|
|
|
|
/* Insert ML/MLI Common stuff */
|
|
%insert(mli) "mliheading.swg"
|
|
%insert(ml) "mlheading.swg"
|
|
|
|
/* Insert common stuff */
|
|
%insert(runtime) "common.swg"
|
|
|
|
/* Include headers */
|
|
%insert(runtime) "ocamldec.swg"
|
|
|
|
/* Type registration */
|
|
%insert(init) "typeregister.swg"
|
|
|
|
/*#ifndef SWIG_NOINCLUDE*/
|
|
%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)
|
|
|
|
/* Read in standard typemaps. */
|
|
%include "swig.swg"
|
|
%include "typemaps.i"
|
|
%include "typecheck.i"
|
|
%include "exception.i"
|
|
%include "preamble.swg"
|