[OCaml] Rename ocaml.swg to ocamlrun.swg

Rename ocamldec.swg to ocamlrundec.swg.
This commit is contained in:
Zackery Spytz 2019-02-18 22:35:55 -07:00
commit b74b2189e6
4 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
* ocamldec.swg
* ocamlrundec.swg
*
* Ocaml runtime code -- declarations
* ----------------------------------------------------------------------------- */

View file

@ -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;