Mercurial > octave
comparison src/defun.h @ 2954:ac3368dba5d3
[project @ 1997-05-09 15:09:47 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 15:11:16 +0000 |
parents | 42901f9a9266 |
children | e330cb788508 |
comparison
equal
deleted
inserted
replaced
2953:ca7d3625ee01 | 2954:ac3368dba5d3 |
---|---|
74 DEFVAR_INT ("__" ## name ## "__", X ## sname, defn, false, true, sv_fcn, doc) | 74 DEFVAR_INT ("__" ## name ## "__", X ## sname, defn, false, true, sv_fcn, doc) |
75 | 75 |
76 // How builtin variables are actually installed. | 76 // How builtin variables are actually installed. |
77 | 77 |
78 #define DEFVAR_INT(name, sname, defn, inst_as_fcn, protect, sv_fcn, doc) \ | 78 #define DEFVAR_INT(name, sname, defn, inst_as_fcn, protect, sv_fcn, doc) \ |
79 do \ | 79 install_builtin_variable (name, octave_value (defn), inst_as_fcn, \ |
80 { \ | 80 protect, (sv_fcn != 0), sv_fcn, doc) |
81 builtin_variable sname (name, octave_value (defn), inst_as_fcn, \ | |
82 protect, (sv_fcn != 0), sv_fcn, doc); \ | |
83 install_builtin_variable (sname); \ | |
84 } \ | |
85 while (0) | |
86 | 81 |
87 // Define a builtin function. | 82 // Define a builtin function. |
88 // | 83 // |
89 // name is the name of the function, unqouted. | 84 // name is the name of the function, unqouted. |
90 // | 85 // |