Mercurial > hg > octave-lyh
diff src/ov-int32.h @ 8321:69b6127f6962
better use of templates in ov-intx.h
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Nov 2008 14:13:54 -0500 |
parents | a1dbe9d80eee |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/ov-int32.h +++ b/src/ov-int32.h @@ -23,12 +23,12 @@ #if !defined (octave_int32_h) #define octave_int32_h 1 +#define OCTAVE_INT_T octave_int32 + #define OCTAVE_VALUE_INT_MATRIX_T octave_int32_matrix -#define OCTAVE_INT_NDARRAY_T int32NDArray #define OCTAVE_VALUE_INT_NDARRAY_EXTRACTOR_FUNCTION int32_array_value #define OCTAVE_VALUE_INT_SCALAR_T octave_int32_scalar -#define OCTAVE_INT_T octave_int32 #define OCTAVE_VALUE_INT_SCALAR_EXTRACTOR_FUNCTION int32_scalar_value #define OCTAVE_TYPE_PREDICATE_FUNCTION is_int32_type @@ -37,12 +37,12 @@ #include "ov-intx.h" +#undef OCTAVE_INT_T + #undef OCTAVE_VALUE_INT_MATRIX_T -#undef OCTAVE_INT_NDARRAY_T #undef OCTAVE_VALUE_INT_NDARRAY_EXTRACTOR_FUNCTION #undef OCTAVE_VALUE_INT_SCALAR_T -#undef OCTAVE_INT_T #undef OCTAVE_VALUE_INT_SCALAR_EXTRACTOR_FUNCTION #undef OCTAVE_TYPE_PREDICATE_FUNCTION