summaryrefslogtreecommitdiff
path: root/share/swig/2.0.11/ocaml/preamble.swg
blob: 39374ce4b918e9ab861b9a4cc39833ae92d7029a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%insert(mli) %{
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) %{
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
%}