Mercurial > hg > octave-nkf
diff src/variables.cc @ 2954:ac3368dba5d3
[project @ 1997-05-09 15:09:47 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 15:11:16 +0000 |
parents | ca7d3625ee01 |
children | c41e4dca98b9 |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -1533,14 +1533,17 @@ } void -install_builtin_variable (const builtin_variable& v) +install_builtin_variable (const string& name, const octave_value& value, + bool install_as_function, bool protect, + bool eternal, symbol_record::sv_function sv_fcn, + const string& help_string); { - if (v.install_as_function) - install_builtin_variable_as_function (v.name, v.value, v.protect, - v.eternal, v.help_string); + if (install_as_function) + install_builtin_variable_as_function (name, value, protect, + eternal, help_string); else - bind_builtin_variable (v.name, v.value, v.protect, v.eternal, - v.sv_fcn, v.help_string); + bind_builtin_variable (name, value, protect, eternal, + sv_fcn, help_string); } void