From b74b2189e6a3462a9dab0b299e82bc7086d2f077 Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Mon, 18 Feb 2019 22:35:55 -0700 Subject: [PATCH] [OCaml] Rename ocaml.swg to ocamlrun.swg Rename ocamldec.swg to ocamlrundec.swg. --- Lib/ocaml/ocaml.i | 4 ++-- Lib/ocaml/{ocaml.swg => ocamlrun.swg} | 0 Lib/ocaml/{ocamldec.swg => ocamlrundec.swg} | 2 +- Source/Modules/ocaml.cxx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename Lib/ocaml/{ocaml.swg => ocamlrun.swg} (100%) rename Lib/ocaml/{ocamldec.swg => ocamlrundec.swg} (99%) 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;