Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
7871:ab9fc4e3cdca | 7872:1b63f8da772d |
---|---|
49 static octave_function * | 49 static octave_function * |
50 load_mex (const std::string& fcn_name, | 50 load_mex (const std::string& fcn_name, |
51 const std::string& file_name = std::string (), | 51 const std::string& file_name = std::string (), |
52 bool relative = false); | 52 bool relative = false); |
53 | 53 |
54 static bool remove (const std::string& fcn_name, octave_shlib& shl); | 54 static bool remove_oct (const std::string& fcn_name, octave_shlib& shl); |
55 | |
56 static bool remove_mex (const std::string& fcn_name, octave_shlib& shl); | |
55 | 57 |
56 private: | 58 private: |
57 | 59 |
58 // No copying! | 60 // No copying! |
59 | 61 |
73 octave_function * | 75 octave_function * |
74 do_load_mex (const std::string& fcn_name, | 76 do_load_mex (const std::string& fcn_name, |
75 const std::string& file_name = std::string (), | 77 const std::string& file_name = std::string (), |
76 bool relative = false); | 78 bool relative = false); |
77 | 79 |
78 bool do_remove (const std::string& fcn_name, octave_shlib& shl); | 80 bool do_remove_oct (const std::string& fcn_name, octave_shlib& shl); |
81 | |
82 bool do_remove_mex (const std::string& fcn_name, octave_shlib& shl); | |
79 | 83 |
80 static bool doing_load; | 84 static bool doing_load; |
81 | 85 |
82 protected: | 86 protected: |
83 | 87 |
84 static std::string mangle_name (const std::string& name); | 88 static std::string mangle_name (const std::string& name); |
85 | 89 |
86 static std::string xmangle_name (const std::string& name); | 90 static std::string xmangle_name (const std::string& name); |
91 | |
92 static std::string mex_mangler (const std::string& name); | |
93 | |
94 static std::string mex_uscore_mangler (const std::string& name); | |
95 | |
96 static std::string mex_f77_mangler (const std::string& name); | |
87 }; | 97 }; |
88 | 98 |
89 #endif | 99 #endif |
90 | 100 |
91 /* | 101 /* |