diff src/ov-scalar.cc @ 3219:30770ba4457a

[project @ 1998-11-13 03:44:31 by jwe]
author jwe
date Fri, 13 Nov 1998 03:44:36 +0000
parents ebbc34ff7f66
children 3ee04ff37b3e
line wrap: on
line diff
--- a/src/ov-scalar.cc
+++ b/src/ov-scalar.cc
@@ -40,14 +40,9 @@
 #include "xdiv.h"
 #include "xpow.h"
 
-octave_allocator
-octave_scalar::allocator (sizeof (octave_scalar));
+DEFINE_OCTAVE_ALLOCATOR (octave_scalar);
 
-int
-octave_scalar::t_id (-1);
-
-const string
-octave_scalar::t_name ("scalar");
+DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_scalar, "scalar");
 
 static inline bool
 valid_scalar_indices (const octave_value_list& args)