Mercurial > octave-nkf
changeset 4438:4cc739e3cbd8
[project @ 2003-06-26 16:01:45 by jwe]
author | jwe |
---|---|
date | Thu, 26 Jun 2003 16:01:45 +0000 |
parents | 0a59e4de215e |
children | 64a91c8251e2 |
files | src/ChangeLog src/variables.cc |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Jun 24 19:28:48 2003 +0000 +++ b/src/ChangeLog Thu Jun 26 16:01:45 2003 +0000 @@ -1,3 +1,8 @@ +2003-06-26 John W. Eaton <jwe@bevo.che.wisc.edu> + + * variables.cc (symbol_exist): Distinguish between user and dld + functions loaded in memory. + 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> * pt-mat.cc (tm_row_const::init, tm_const::init): Don't ignore
--- a/src/variables.cc Tue Jun 24 19:28:48 2003 +0000 +++ b/src/variables.cc Thu Jun 26 16:01:45 2003 +0000 @@ -597,7 +597,7 @@ octave_function *f = t.function_value (true); std::string s = f ? f->fcn_file_name () : std::string (); - retval = s.empty () ? 103 : 2; + retval = s.empty () ? 103 : (sr->is_user_function () ? 2 : 3); } }