Mercurial > hg > octave-lyh
diff src/ov.cc @ 4342:813effe14ee1
[project @ 2003-02-20 08:35:55 by jwe]
author | jwe |
---|---|
date | Thu, 20 Feb 2003 08:35:55 +0000 |
parents | 8724cf60d51d |
children | db5e0814277a |
line wrap: on
line diff
--- a/src/ov.cc +++ b/src/ov.cc @@ -54,6 +54,7 @@ #include "ov-builtin.h" #include "ov-mapper.h" #include "ov-usr-fcn.h" +#include "ov-fcn-handle.h" #include "ov-typeinfo.h" #include "defun.h" @@ -549,6 +550,12 @@ rep->count = 1; } +octave_value::octave_value (const octave_fcn_handle& fh) + : rep (new octave_fcn_handle (fh)) +{ + rep->count = 1; +} + octave_value::octave_value (const octave_value_list& l, bool is_cs_list) : rep (0) {