# HG changeset patch # User jwe # Date 1056204882 0 # Node ID b18ace8faf31128f470b17d05bc24217109bf2a8 # Parent ff7187bd30750d6aaf2b51a978e307a81bef0209 [project @ 2003-06-21 14:14:42 by jwe] diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,9 @@ +2003-06-21 Paul Kienzle + + * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. + + * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. + 2003-06-18 John W. Eaton * dMatrix.cc (any_element_is_negative): If new optional arg diff --git a/liboctave/kpse-xfns.h b/liboctave/kpse-xfns.h --- a/liboctave/kpse-xfns.h +++ b/liboctave/kpse-xfns.h @@ -32,7 +32,7 @@ #define DIR_SEP '/' #define DIR_SEP_STRING "/" #define IS_DEVICE_SEP(ch) ((ch) == ':') -#define NAME_BEGINS_WITH_DEVICE(name) (*(name) && IS_DEVICE_SEP((name)[1])) +#define NAME_BEGINS_WITH_DEVICE(name) ((name.length()>0) && IS_DEVICE_SEP((name)[1])) /* On DOS, it's good to allow both \ and / between directories. */ #define IS_DIR_SEP(ch) ((ch) == '/' || (ch) == '\\') #else diff --git a/liboctave/lo-ieee.h b/liboctave/lo-ieee.h --- a/liboctave/lo-ieee.h +++ b/liboctave/lo-ieee.h @@ -74,7 +74,7 @@ #define lo_ieee_signbit(x) signbit (x) #elif defined (HAVE_SIGNBIT) #if defined (__MINGW32__) -extern "C" int signbit (double); +extern int signbit (double); #endif #define lo_ieee_signbit(x) (x < 0 || signbit (x)) #elif defined (copysign) diff --git a/src/ov.cc b/src/ov.cc --- a/src/ov.cc +++ b/src/ov.cc @@ -55,6 +55,7 @@ #include "ov-mapper.h" #include "ov-usr-fcn.h" #include "ov-fcn-handle.h" +#include "ov-re-nd-array.h" #include "ov-typeinfo.h" #include "defun.h" @@ -1734,6 +1735,7 @@ octave_bool_matrix::register_type (); octave_char_matrix::register_type (); octave_char_matrix_str::register_type (); + octave_re_nd_array::register_type (); octave_struct::register_type (); octave_file::register_type (); octave_list::register_type ();