Mercurial > octave-nkf
comparison src/ov.cc @ 14013:1734ebe27134
move onCleanup function and class to liboctinterp
* ov-oncleanup.h, ov-oncleanup.cc: Move onCleanup class and function here.
* onCleanup.cc: From here.
* DLD-FUNCTIONS/module-list: Delete onCleanup.cc from the list.
* src/Makefile.am (OV_INCLUDES): Add ov-oncleanup.h to the list.
(OV_SRC): add ov-oncleanup.cc to the list.
* ov.cc (register_types): Register octave_oncleanup here.
* ov-typeinfo.cc (octave_value_typeinfo::instance_ok): Do register
cleanup function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 08 Dec 2011 00:52:39 -0500 |
parents | 6ead4dc1ca55 |
children | 77adde2e79ac |
comparison
equal
deleted
inserted
replaced
14012:4faef552363d | 14013:1734ebe27134 |
---|---|
63 #include "ov-ch-mat.h" | 63 #include "ov-ch-mat.h" |
64 #include "ov-str-mat.h" | 64 #include "ov-str-mat.h" |
65 #include "ov-range.h" | 65 #include "ov-range.h" |
66 #include "ov-struct.h" | 66 #include "ov-struct.h" |
67 #include "ov-class.h" | 67 #include "ov-class.h" |
68 #include "ov-cleanup.h" | |
68 #include "ov-cs-list.h" | 69 #include "ov-cs-list.h" |
69 #include "ov-colon.h" | 70 #include "ov-colon.h" |
70 #include "ov-builtin.h" | 71 #include "ov-builtin.h" |
71 #include "ov-dld-fcn.h" | 72 #include "ov-dld-fcn.h" |
72 #include "ov-usr-fcn.h" | 73 #include "ov-usr-fcn.h" |
2687 octave_perm_matrix::register_type (); | 2688 octave_perm_matrix::register_type (); |
2688 octave_null_matrix::register_type (); | 2689 octave_null_matrix::register_type (); |
2689 octave_null_str::register_type (); | 2690 octave_null_str::register_type (); |
2690 octave_null_sq_str::register_type (); | 2691 octave_null_sq_str::register_type (); |
2691 octave_lazy_index::register_type (); | 2692 octave_lazy_index::register_type (); |
2693 octave_oncleanup::register_type (); | |
2692 } | 2694 } |
2693 | 2695 |
2694 DEFUN (sizeof, args, , | 2696 DEFUN (sizeof, args, , |
2695 "-*- texinfo -*-\n\ | 2697 "-*- texinfo -*-\n\ |
2696 @deftypefn {Built-in Function} {} sizeof (@var{val})\n\ | 2698 @deftypefn {Built-in Function} {} sizeof (@var{val})\n\ |