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
21 lines
No EOL
539 B
Text
21 lines
No EOL
539 B
Text
%insert(mli) %{
|
|
type c_obj = c_enum_tag c_obj_t
|
|
|
|
exception BadArgs of string
|
|
exception BadMethodName of c_obj * string * string
|
|
exception NotObject of c_obj
|
|
exception NotEnumType of c_obj
|
|
exception LabelNotFromThisEnum of c_obj
|
|
exception InvalidDirectorCall of c_obj
|
|
%}
|
|
|
|
%insert(ml) %{
|
|
type c_obj = c_enum_tag c_obj_t
|
|
|
|
exception BadArgs of string
|
|
exception BadMethodName of c_obj * string * string
|
|
exception NotObject of c_obj
|
|
exception NotEnumType of c_obj
|
|
exception LabelNotFromThisEnum of c_obj
|
|
exception InvalidDirectorCall of c_obj
|
|
%} |