Mercurial > hg > octave-nkf
diff src/ov-struct.cc @ 3219:30770ba4457a
[project @ 1998-11-13 03:44:31 by jwe]
author | jwe |
---|---|
date | Fri, 13 Nov 1998 03:44:36 +0000 |
parents | aa9d0c0e0458 |
children | d14c483b3c12 |
line wrap: on
line diff
--- a/src/ov-struct.cc +++ b/src/ov-struct.cc @@ -36,14 +36,9 @@ #include "unwind-prot.h" #include "variables.h" -octave_allocator -octave_struct::allocator (sizeof (octave_struct)); +DEFINE_OCTAVE_ALLOCATOR(octave_struct); -int -octave_struct::t_id (-1); - -const string -octave_struct::t_name ("struct"); +DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(octave_struct, "struct"); octave_value octave_struct::do_struct_elt_index_op (const string& nm,