diff --git a/Lib/ocaml/ocaml.i b/Lib/ocaml/ocaml.i index 0db48d348..581f84d04 100644 --- a/Lib/ocaml/ocaml.i +++ b/Lib/ocaml/ocaml.i @@ -8,7 +8,7 @@ %insert(runtime) "swigrun.swg" /* Include headers */ -%insert(runtime) "ocamldec.swg" +%insert(runtime) "ocamlrundec.swg" /* Type registration */ %insert(init) "swiginit.swg" @@ -28,7 +28,7 @@ %} /*#ifndef SWIG_NOINCLUDE*/ -%insert(runtime) "ocaml.swg" +%insert(runtime) "ocamlrun.swg" /*#endif*/ %insert(classtemplate) "class.swg" diff --git a/Lib/ocaml/ocaml.swg b/Lib/ocaml/ocamlrun.swg similarity index 100% rename from Lib/ocaml/ocaml.swg rename to Lib/ocaml/ocamlrun.swg diff --git a/Lib/ocaml/ocamldec.swg b/Lib/ocaml/ocamlrundec.swg similarity index 99% rename from Lib/ocaml/ocamldec.swg rename to Lib/ocaml/ocamlrundec.swg index 0c2faf771..555f9a44f 100644 --- a/Lib/ocaml/ocamldec.swg +++ b/Lib/ocaml/ocamlrundec.swg @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * ocamldec.swg + * ocamlrundec.swg * * Ocaml runtime code -- declarations * ----------------------------------------------------------------------------- */ diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx index 8b248bad2..27a001f85 100644 --- a/Source/Modules/ocaml.cxx +++ b/Source/Modules/ocaml.cxx @@ -1866,9 +1866,9 @@ public: } String *runtimeCode() { - String *s = Swig_include_sys("ocaml.swg"); + String *s = Swig_include_sys("ocamlrun.swg"); if (!s) { - Printf(stderr, "*** Unable to open 'ocaml.swg'\n"); + Printf(stderr, "*** Unable to open 'ocamlrun.swg'\n"); s = NewString(""); } return s;