Mercurial > hg > octave-nkf
comparison src/defun-int.h @ 10313:f3b65e1ae355
untabify src header files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:16:43 -0500 |
parents | cd96d29c5efa |
children | ed6969880316 |
comparison
equal
deleted
inserted
replaced
10312:cbc402e64d83 | 10313:f3b65e1ae355 |
---|---|
38 | 38 |
39 extern OCTINTERP_API void check_version (const std::string& version, const std::string& fcn); | 39 extern OCTINTERP_API void check_version (const std::string& version, const std::string& fcn); |
40 | 40 |
41 extern OCTINTERP_API void | 41 extern OCTINTERP_API void |
42 install_builtin_function (octave_builtin::fcn f, const std::string& name, | 42 install_builtin_function (octave_builtin::fcn f, const std::string& name, |
43 const std::string& doc, | 43 const std::string& doc, |
44 bool can_hide_function = true); | 44 bool can_hide_function = true); |
45 | 45 |
46 extern OCTINTERP_API void | 46 extern OCTINTERP_API void |
47 install_dld_function (octave_dld_function::fcn f, const std::string& name, | 47 install_dld_function (octave_dld_function::fcn f, const std::string& name, |
48 const octave_shlib& shl, const std::string& doc, | 48 const octave_shlib& shl, const std::string& doc, |
49 bool relative = false); | 49 bool relative = false); |
50 | 50 |
51 extern OCTINTERP_API void | 51 extern OCTINTERP_API void |
52 install_mex_function (void *fptr, bool fmex, const std::string& name, | 52 install_mex_function (void *fptr, bool fmex, const std::string& name, |
53 const octave_shlib& shl, bool relative = false); | 53 const octave_shlib& shl, bool relative = false); |
54 | 54 |
55 extern OCTINTERP_API void | 55 extern OCTINTERP_API void |
56 alias_builtin (const std::string& alias, const std::string& name); | 56 alias_builtin (const std::string& alias, const std::string& name); |
57 | 57 |
58 // Gets the shlib of the currently executing DLD function, if any. | 58 // Gets the shlib of the currently executing DLD function, if any. |
99 \ | 99 \ |
100 check_version (OCTAVE_API_VERSION, name); \ | 100 check_version (OCTAVE_API_VERSION, name); \ |
101 \ | 101 \ |
102 if (! error_state) \ | 102 if (! error_state) \ |
103 { \ | 103 { \ |
104 octave_dld_function *fcn = octave_dld_function::create (fname, shl, name, doc); \ | 104 octave_dld_function *fcn = octave_dld_function::create (fname, shl, name, doc); \ |
105 \ | 105 \ |
106 if (relative) \ | 106 if (relative) \ |
107 fcn->mark_relative (); \ | 107 fcn->mark_relative (); \ |
108 \ | 108 \ |
109 retval = fcn; \ | 109 retval = fcn; \ |