Mercurial > hg > octave-avbm
diff src/variables.cc @ 1406:034a57daf076
[project @ 1995-09-15 06:03:10 by jwe]
author | jwe |
---|---|
date | Fri, 15 Sep 1995 06:03:17 +0000 (1995-09-15) |
parents | 083787534e18 |
children | 9517c453c9ab |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -1488,6 +1488,15 @@ } void +bind_builtin_variable (const char *varname, const tree_constant& val, + int protect, int eternal, sv_Function sv_fcn, + const char *help) +{ + tree_constant *tc = new tree_constant (val); + bind_builtin_variable (varname, tc, protect, eternal, sv_fcn, help); +} + +void install_builtin_variables (void) { // XXX FIXME XX -- these should probably be moved to where they