Mercurial > hg > octave-nkf
changeset 4433:b18ace8faf31
[project @ 2003-06-21 14:14:42 by jwe]
author | jwe |
---|---|
date | Sat, 21 Jun 2003 14:14:42 +0000 |
parents | ff7187bd3075 |
children | d28fa596b886 |
files | liboctave/ChangeLog liboctave/kpse-xfns.h liboctave/lo-ieee.h src/ov.cc |
diffstat | 4 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,9 @@ +2003-06-21 Paul Kienzle <pkienzle@users.sf.net> + + * 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 <jwe@bevo.che.wisc.edu> * dMatrix.cc (any_element_is_negative): If new optional arg
--- 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
--- 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)
--- 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 ();