swig/SWIG/Lib/ocaml/preamble.swg
2003-10-25 03:24:31 +00:00

21 lines
No EOL
511 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
val invoke : c_obj -> (string -> c_obj -> 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
%}