summaryrefslogtreecommitdiff
path: root/share/swig/2.0.11/ocaml/preamble.swg
diff options
context:
space:
mode:
Diffstat (limited to 'share/swig/2.0.11/ocaml/preamble.swg')
-rw-r--r--share/swig/2.0.11/ocaml/preamble.swg17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/swig/2.0.11/ocaml/preamble.swg b/share/swig/2.0.11/ocaml/preamble.swg
new file mode 100644
index 0000000..39374ce
--- /dev/null
+++ b/share/swig/2.0.11/ocaml/preamble.swg
@@ -0,0 +1,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
+%} \ No newline at end of file