Mercurial > hg > octave-lyh
comparison src/defun-int.h @ 7349:a1ab9dbc9622
[project @ 2008-01-07 14:40:23 by jwe]
author | jwe |
---|---|
date | Mon, 07 Jan 2008 14:40:24 +0000 |
parents | 745a8299c2b5 |
children | 8c32f95c2639 |
comparison
equal
deleted
inserted
replaced
7348:d1a97ad87264 | 7349:a1ab9dbc9622 |
---|---|
118 \ | 118 \ |
119 check_version (OCTAVE_API_VERSION, name); \ | 119 check_version (OCTAVE_API_VERSION, name); \ |
120 \ | 120 \ |
121 if (! error_state) \ | 121 if (! error_state) \ |
122 { \ | 122 { \ |
123 octave_dld_function *fcn = new octave_dld_function (fname, shl, name, doc); \ | 123 octave_dld_function *fcn = octave_dld_function::create (fname, shl, name, doc); \ |
124 \ | 124 \ |
125 if (relative) \ | 125 if (relative) \ |
126 fcn->mark_relative (); \ | 126 fcn->mark_relative (); \ |
127 \ | 127 \ |
128 retval = fcn; \ | 128 retval = fcn; \ |