summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-02-18 22:35:55 -0700
committerZackery Spytz <zspytz@gmail.com>2019-02-18 22:35:55 -0700
commitb74b2189e6a3462a9dab0b299e82bc7086d2f077 (patch)
tree972caadfd41fe2bb40e9d286163eb1899b6501ea
parent5a58f9a87b8abd756ea17be86d82be5d48838050 (diff)
downloadswig-b74b2189e6a3462a9dab0b299e82bc7086d2f077.tar.gz
[OCaml] Rename ocaml.swg to ocamlrun.swg
Rename ocamldec.swg to ocamlrundec.swg.
-rw-r--r--Lib/ocaml/ocaml.i4
-rw-r--r--Lib/ocaml/ocamlrun.swg (renamed from Lib/ocaml/ocaml.swg)0
-rw-r--r--Lib/ocaml/ocamlrundec.swg (renamed from Lib/ocaml/ocamldec.swg)2
-rw-r--r--Source/Modules/ocaml.cxx4
4 files changed, 5 insertions, 5 deletions
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
index 3d552cc50..3d552cc50 100644
--- a/Lib/ocaml/ocaml.swg
+++ b/Lib/ocaml/ocamlrun.swg
diff --git a/Lib/ocaml/ocamldec.swg b/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;