# HG changeset patch # User jwe # Date 845398245 0 # Node ID 31a279f310705cabaf0b888709a4cd86fa220ee4 # Parent 367485171742eff5e77eff15170f29ca9f76325e [project @ 1996-10-15 16:50:45 by jwe] ov-str-mat.h diff --git a/src/ov-str-mat.cc b/src/ov-str-mat.cc --- a/src/ov-str-mat.cc +++ b/src/ov-str-mat.cc @@ -50,7 +50,7 @@ return new octave_matrix (v.matrix_value ()); } -octave_value::numeric_conv_fcn +octave_value::type_conv_fcn octave_char_matrix_str::numeric_conversion_function (void) const { return default_numeric_conversion_function; diff --git a/src/ov-typeinfo.cc b/src/ov-typeinfo.cc --- a/src/ov-typeinfo.cc +++ b/src/ov-typeinfo.cc @@ -48,8 +48,8 @@ template class Array; template class Array2; -template class Array; -template class Array2; +template class Array; +template class Array2; int octave_value_typeinfo::register_type (const string& name) @@ -93,7 +93,7 @@ bool octave_value_typeinfo::register_widening_op (int t, int t_result, - octave_value::widening_op_fcn f) + octave_value::type_conv_fcn f) { if (! instance) instance = new octave_value_typeinfo (); @@ -125,7 +125,7 @@ pref_assign_conv.resize (len, len, -1); - widening_ops.resize (len, len, (octave_value::widening_op_fcn) 0); + widening_ops.resize (len, len, (octave_value::type_conv_fcn) 0); } types (i) = name; @@ -165,7 +165,7 @@ bool octave_value_typeinfo::do_register_widening_op - (int t, int t_result, octave_value::widening_op_fcn f) + (int t, int t_result, octave_value::type_conv_fcn f) { widening_ops.checkelem (t, t_result) = f; @@ -193,7 +193,7 @@ return pref_assign_conv.checkelem (t_lhs, t_rhs); } -octave_value::widening_op_fcn +octave_value::type_conv_fcn octave_value_typeinfo::do_lookup_widening_op (int t, int t_result) { return widening_ops.checkelem (t, t_result); diff --git a/src/ov-typeinfo.h b/src/ov-typeinfo.h --- a/src/ov-typeinfo.h +++ b/src/ov-typeinfo.h @@ -51,7 +51,7 @@ static bool register_pref_assign_conv (int, int, int); - static bool register_widening_op (int, int, octave_value::widening_op_fcn); + static bool register_widening_op (int, int, octave_value::type_conv_fcn); static octave_value::binary_op_fcn lookup_binary_op (octave_value::binary_op op, int t1, int t2) @@ -71,7 +71,7 @@ return instance->do_lookup_pref_assign_conv (t_lhs, t_rhs); } - static octave_value::widening_op_fcn + static octave_value::type_conv_fcn lookup_widening_op (int t, int t_result) { return instance->do_lookup_widening_op (t, t_result); @@ -90,7 +90,7 @@ (octave_value::binary_op_fcn) 0), assign_ops (32, 32, (octave_value::assign_op_fcn) 0), pref_assign_conv (32, 32, -1), - widening_ops (32, 32, (octave_value::widening_op_fcn) 0) { } + widening_ops (32, 32, (octave_value::type_conv_fcn) 0) { } private: @@ -106,7 +106,7 @@ Array2 pref_assign_conv; - Array2 widening_ops; + Array2 widening_ops; int do_register_type (const string&); @@ -117,7 +117,7 @@ bool do_register_pref_assign_conv (int, int, int); - bool do_register_widening_op (int, int, octave_value::widening_op_fcn); + bool do_register_widening_op (int, int, octave_value::type_conv_fcn); octave_value::binary_op_fcn do_lookup_binary_op (octave_value::binary_op, int, int); @@ -126,7 +126,7 @@ int do_lookup_pref_assign_conv (int, int); - octave_value::widening_op_fcn do_lookup_widening_op (int, int); + octave_value::type_conv_fcn do_lookup_widening_op (int, int); string_vector do_installed_type_names (void);