comparison src/ChangeLog @ 7997:2b8952e133c9

implement checked conversions between integers
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 30 Jul 2008 15:20:13 +0200
parents 6a7db240b3a3
children a4acda9fc3e7
comparison
equal deleted inserted replaced
7996:6a7db240b3a3 7997:2b8952e133c9
1 2008-07-30 Jaroslav Hajek <highegg@gmail.com>
2
3 * gripes.cc (gripe_truncated_conversion): New function.
4 * gripes.h (gripe_truncated_conversion): Declare it.
5 * ops.h (DEFCONVFNX2): New macro.
6 (DEFCONVFN, DEFCONVFN2): Call DEFCONVFNX2 instead of DEFCONVFNX.
7 * ov-intx.h (OCTAVE_VALUE_INT_MATRIX_T::convert_gripe): New member
8 function.
9 (OCTAVE_VALUE_INT_MATRIX_T::int*_array_value): Call convert_gripe.
10 (OCTAVE_VALUE_INT_SCALAR_T::convert_gripe): New member function.
11 (OCTAVE_VALUE_INT_SCALAR_T::int*_scalar_value): Call convert_gripe.
12 (OCTAVE_VALUE_INT_SCALAR_T::int*_array_value): Call int*_scalar_value.
13 * ov.cc (convert_to_int_array): New function.
14 (int_vector_value): Call convert_to_int_array.
15
1 2008-07-30 John W. Eaton <jwe@octave.org> 16 2008-07-30 John W. Eaton <jwe@octave.org>
2 17
3 * defun-dld.h (DEFUNX_DLD): Eliminate fsname arg. 18 * defun-dld.h (DEFUNX_DLD): Eliminate fsname arg.
4 * defun-int.h (DEFINE_FUN_INSTALLER_FUN2, 19 * defun-int.h (DEFINE_FUN_INSTALLER_FUN2,
5 DEFINE_FUN_INSTALLER_FUN3, DEFINE_FUNX_INSTALLER_FUN2): Delete. 20 DEFINE_FUN_INSTALLER_FUN3, DEFINE_FUNX_INSTALLER_FUN2): Delete.