#include <string>
#include "defun.h"
#include "dynamic-ld.h"
#include "error.h"
#include "help.h"
#include "ov.h"
#include "ov-builtin.h"
#include "ov-dld-fcn.h"
#include "ov-fcn.h"
#include "ov-mex-fcn.h"
#include "ov-usr-fcn.h"
#include "ovl.h"
#include "oct-lvalue.h"
#include "pager.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "symtab.h"
#include "variables.h"
Go to the source code of this file.
Functions | |
void | check_version (const std::string &version, const std::string &fcn) |
dynamic_library | get_current_shlib () |
void | install_dld_function (octave_dld_function::fcn f, const std::string &name, const dynamic_library &shl, const std::string &doc, bool relative) |
void | install_dld_function (octave_dld_function::meth m, const std::string &name, const dynamic_library &shl, const std::string &doc, bool relative) |
void | install_mex_function (void *fptr, bool fmex, const std::string &name, const dynamic_library &shl, bool relative) |
void | print_usage () |
void | print_usage (const std::string &name) |
void check_version | ( | const std::string & | version, |
const std::string & | fcn | ||
) |
Definition at line 75 of file defun.cc.
References error(), and OCTAVE_API_VERSION.
dynamic_library get_current_shlib | ( | void | ) |
Definition at line 140 of file defun.cc.
References __get_evaluator__(), tree_evaluator::current_function(), octave_dld_function::get_shlib(), octave_mex_function::get_shlib(), octave_base_value::is_dld_function(), and octave_base_value::is_mex_function().
void install_dld_function | ( | octave_dld_function::fcn | f, |
const std::string & | name, | ||
const dynamic_library & | shl, | ||
const std::string & | doc, | ||
bool | relative | ||
) |
Definition at line 90 of file defun.cc.
References __get_symbol_table__(), f, symbol_table::install_built_in_function(), and octave_function::mark_relative().
Referenced by install_dld_function().
void install_dld_function | ( | octave_dld_function::meth | m, |
const std::string & | name, | ||
const dynamic_library & | shl, | ||
const std::string & | doc, | ||
bool | relative | ||
) |
Definition at line 107 of file defun.cc.
References __get_symbol_table__(), symbol_table::install_built_in_function(), m, and octave_function::mark_relative().
void install_mex_function | ( | void * | fptr, |
bool | fmex, | ||
const std::string & | name, | ||
const dynamic_library & | shl, | ||
bool | relative | ||
) |
Definition at line 124 of file defun.cc.
References __get_symbol_table__(), symbol_table::install_built_in_function(), and octave_function::mark_relative().
Referenced by install_mex_function().
void print_usage | ( | void | ) |
Definition at line 54 of file defun.cc.
References __get_evaluator__(), tree_evaluator::current_function(), error(), and octave_function::name().
void print_usage | ( | const std::string & | name | ) |
Definition at line 67 of file defun.cc.
References __get_interpreter__(), and interpreter::feval().