26 #if ! defined (octave_dynamic_ld_h)
27 #define octave_dynamic_ld_h 1
29 #include "octave-config.h"
52 typedef std::list<dynamic_library>::iterator iterator;
53 typedef std::list<dynamic_library>::const_iterator const_iterator;
55 shlibs_list () : m_lib_list () { }
57 OCTAVE_DISABLE_COPY_MOVE (shlibs_list)
59 ~shlibs_list () =
default;
67 void display ()
const;
72 std::list<dynamic_library> m_lib_list;
81 : m_interpreter (interp), m_loaded_shlibs (), m_doing_load (false)
89 load_oct (const std::
string& fcn_name,
90 const std::
string& file_name = "",
91 bool relative = false);
94 load_mex (const std::
string& fcn_name,
95 const std::
string& file_name = "",
96 bool relative = false);
98 bool remove_oct (const std::
string& fcn_name,
101 bool remove_mex (const std::
string& fcn_name,
112 shlibs_list m_loaded_shlibs;
116 static std::
string name_mangler (const std::
string& name);
118 static std::
string name_uscore_mangler (const std::
string& name);
120 static std::
string mex_mangler (const std::
string& name);
122 static std::
string mex_uscore_mangler (const std::
string& name);
124 static std::
string mex_f77_mangler (const std::
string& name);
127 const std::
string& fcn_name,
bool& have_fmex);
130 OCTAVE_END_NAMESPACE(
octave)
dynamic_loader(interpreter &interp)
void clear_function(const std::string &name)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn