comparison 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
comparison
equal deleted inserted replaced
4341:de9b588bf002 4342:813effe14ee1
52 #include "ov-colon.h" 52 #include "ov-colon.h"
53 #include "ov-va-args.h" 53 #include "ov-va-args.h"
54 #include "ov-builtin.h" 54 #include "ov-builtin.h"
55 #include "ov-mapper.h" 55 #include "ov-mapper.h"
56 #include "ov-usr-fcn.h" 56 #include "ov-usr-fcn.h"
57 #include "ov-fcn-handle.h"
57 #include "ov-typeinfo.h" 58 #include "ov-typeinfo.h"
58 59
59 #include "defun.h" 60 #include "defun.h"
60 #include "error.h" 61 #include "error.h"
61 #include "gripes.h" 62 #include "gripes.h"
543 rep->count = 1; 544 rep->count = 1;
544 } 545 }
545 546
546 octave_value::octave_value (octave_function *f) 547 octave_value::octave_value (octave_function *f)
547 : rep (f) 548 : rep (f)
549 {
550 rep->count = 1;
551 }
552
553 octave_value::octave_value (const octave_fcn_handle& fh)
554 : rep (new octave_fcn_handle (fh))
548 { 555 {
549 rep->count = 1; 556 rep->count = 1;
550 } 557 }
551 558
552 octave_value::octave_value (const octave_value_list& l, bool is_cs_list) 559 octave_value::octave_value (const octave_value_list& l, bool is_cs_list)