[OCaml] Rename ocaml.swg to ocamlrun.swg
Rename ocamldec.swg to ocamlrundec.swg.
This commit is contained in:
parent
5a58f9a87b
commit
b74b2189e6
4 changed files with 5 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
%insert(runtime) "swigrun.swg"
|
%insert(runtime) "swigrun.swg"
|
||||||
|
|
||||||
/* Include headers */
|
/* Include headers */
|
||||||
%insert(runtime) "ocamldec.swg"
|
%insert(runtime) "ocamlrundec.swg"
|
||||||
|
|
||||||
/* Type registration */
|
/* Type registration */
|
||||||
%insert(init) "swiginit.swg"
|
%insert(init) "swiginit.swg"
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
%}
|
%}
|
||||||
|
|
||||||
/*#ifndef SWIG_NOINCLUDE*/
|
/*#ifndef SWIG_NOINCLUDE*/
|
||||||
%insert(runtime) "ocaml.swg"
|
%insert(runtime) "ocamlrun.swg"
|
||||||
/*#endif*/
|
/*#endif*/
|
||||||
|
|
||||||
%insert(classtemplate) "class.swg"
|
%insert(classtemplate) "class.swg"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* ocamldec.swg
|
* ocamlrundec.swg
|
||||||
*
|
*
|
||||||
* Ocaml runtime code -- declarations
|
* Ocaml runtime code -- declarations
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
@ -1866,9 +1866,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
String *runtimeCode() {
|
String *runtimeCode() {
|
||||||
String *s = Swig_include_sys("ocaml.swg");
|
String *s = Swig_include_sys("ocamlrun.swg");
|
||||||
if (!s) {
|
if (!s) {
|
||||||
Printf(stderr, "*** Unable to open 'ocaml.swg'\n");
|
Printf(stderr, "*** Unable to open 'ocamlrun.swg'\n");
|
||||||
s = NewString("");
|
s = NewString("");
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue