summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/if_lua.c13
-rw-r--r--src/if_perl.xs9
-rw-r--r--src/if_python.c14
-rw-r--r--src/if_python3.c17
-rw-r--r--src/if_ruby.c16
-rw-r--r--src/if_tcl.c7
-rw-r--r--src/version.c2
7 files changed, 3 insertions, 75 deletions
diff --git a/src/if_lua.c b/src/if_lua.c
index 8c1638a3a..19842912f 100644
--- a/src/if_lua.c
+++ b/src/if_lua.c
@@ -398,16 +398,6 @@ static const luaV_Reg luaV_dll[] = {
static HANDLE hinstLua = NULL;
- static void
-end_dynamic_lua(void)
-{
- if (hinstLua)
- {
- close_dll(hinstLua);
- hinstLua = 0;
- }
-}
-
static int
lua_link_init(char *libname, int verbose)
{
@@ -2121,9 +2111,6 @@ lua_end(void)
{
lua_close(L);
L = NULL;
-#ifdef DYNAMIC_LUA
- end_dynamic_lua();
-#endif
}
}
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 12e1a227e..3af309a65 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -762,7 +762,7 @@ perl_init(void)
}
/*
- * perl_end(): clean up after ourselves
+ * Clean up after ourselves.
*/
void
perl_end(void)
@@ -777,13 +777,6 @@ perl_end(void)
Perl_sys_term();
#endif
}
-#ifdef DYNAMIC_PERL
- if (hPerlLib)
- {
- close_dll(hPerlLib);
- hPerlLib = NULL;
- }
-#endif
}
/*
diff --git a/src/if_python.c b/src/if_python.c
index 7b2207085..394ed3e4a 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -655,19 +655,6 @@ static struct
};
/*
- * Free python.dll
- */
- static void
-end_dynamic_python(void)
-{
- if (hinstPython)
- {
- close_dll(hinstPython);
- hinstPython = 0;
- }
-}
-
-/*
* Load library and get all pointers.
* Parameter 'libname' provides name of DLL.
* Return OK or FAIL.
@@ -889,7 +876,6 @@ python_end(void)
# endif
Py_Finalize();
}
- end_dynamic_python();
#else
if (Py_IsInitialized())
{
diff --git a/src/if_python3.c b/src/if_python3.c
index 2985e9c89..ecca163b0 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -635,19 +635,6 @@ py3__Py_XDECREF(PyObject *op)
# endif
/*
- * Free python.dll
- */
- static void
-end_dynamic_python3(void)
-{
- if (hinstPy3 != 0)
- {
- close_dll(hinstPy3);
- hinstPy3 = 0;
- }
-}
-
-/*
* Load library and get all pointers.
* Parameter 'libname' provides name of DLL.
* Return OK or FAIL.
@@ -873,10 +860,6 @@ python3_end(void)
Py_Finalize();
}
-#ifdef DYNAMIC_PYTHON3
- end_dynamic_python3();
-#endif
-
--recurse;
}
diff --git a/src/if_ruby.c b/src/if_ruby.c
index a4a59f6bd..80481e7d2 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -736,19 +736,6 @@ static struct
};
/*
- * Free ruby.dll
- */
- static void
-end_dynamic_ruby(void)
-{
- if (hinstRuby)
- {
- close_dll(hinstRuby);
- hinstRuby = NULL;
- }
-}
-
-/*
* Load library and get all pointers.
* Parameter 'libname' provides name of DLL.
* Return OK or FAIL.
@@ -797,9 +784,6 @@ ruby_enabled(int verbose)
void
ruby_end(void)
{
-#ifdef DYNAMIC_RUBY
- end_dynamic_ruby();
-#endif
}
void
diff --git a/src/if_tcl.c b/src/if_tcl.c
index c4f85fa71..45d880bda 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -280,13 +280,6 @@ tcl_enabled(int verbose)
void
tcl_end(void)
{
-#ifdef DYNAMIC_TCL
- if (hTclLib)
- {
- close_dll(hTclLib);
- hTclLib = NULL;
- }
-#endif
}
/////////////////////////////////////////////////////////////////////////////
diff --git a/src/version.c b/src/version.c
index 402ed4053..f1d74d87f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 479,
+/**/
478,
/**/
477,