Mercurial > hg > octave-nkf
diff src/dynamic-ld.h @ 7872:1b63f8da772d
fix unloading of mex files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Jun 2008 14:41:52 -0400 |
parents | 745a8299c2b5 |
children | 6a7db240b3a3 |
line wrap: on
line diff
--- a/src/dynamic-ld.h +++ b/src/dynamic-ld.h @@ -51,7 +51,9 @@ const std::string& file_name = std::string (), bool relative = false); - static bool remove (const std::string& fcn_name, octave_shlib& shl); + static bool remove_oct (const std::string& fcn_name, octave_shlib& shl); + + static bool remove_mex (const std::string& fcn_name, octave_shlib& shl); private: @@ -75,7 +77,9 @@ const std::string& file_name = std::string (), bool relative = false); - bool do_remove (const std::string& fcn_name, octave_shlib& shl); + bool do_remove_oct (const std::string& fcn_name, octave_shlib& shl); + + bool do_remove_mex (const std::string& fcn_name, octave_shlib& shl); static bool doing_load; @@ -84,6 +88,12 @@ static std::string mangle_name (const std::string& name); static std::string xmangle_name (const std::string& name); + + static std::string mex_mangler (const std::string& name); + + static std::string mex_uscore_mangler (const std::string& name); + + static std::string mex_f77_mangler (const std::string& name); }; #endif