comparison liboctave/array/CSparse.h @ 16313:6aafe87a3144

use int64_t for idx type if --enable-64 * configure.ac: Check for and use int64_t instead of long if --enable-64. (IDX_TYPE_LONG): Delete definion. Change all uses to check USE_64_BIT_IDX_T instead. * MArray-i.cc: Instantiate arrays of int64_t instead of long, but only if USE_64_BIT_IDX_T is defined. * acinclinde.m4 (OCTAVE_CHECK_SIZEOF_FORTRAN_INTEGER): Use int64_t instead of long.
author John W. Eaton <jwe@octave.org>
date Fri, 15 Mar 2013 07:07:08 -0400
parents 648dabbb4c6b
children d63878346099
comparison
equal deleted inserted replaced
16311:9c4ac8f25a8c 16313:6aafe87a3144
511 SPARSE_SMSM_CMP_OP_DECLS (SparseComplexMatrix, SparseComplexMatrix, OCTAVE_API) 511 SPARSE_SMSM_CMP_OP_DECLS (SparseComplexMatrix, SparseComplexMatrix, OCTAVE_API)
512 SPARSE_SMSM_BOOL_OP_DECLS (SparseComplexMatrix, SparseComplexMatrix, OCTAVE_API) 512 SPARSE_SMSM_BOOL_OP_DECLS (SparseComplexMatrix, SparseComplexMatrix, OCTAVE_API)
513 513
514 SPARSE_FORWARD_DEFS (MSparse, SparseComplexMatrix, ComplexMatrix, Complex) 514 SPARSE_FORWARD_DEFS (MSparse, SparseComplexMatrix, ComplexMatrix, Complex)
515 515
516 #ifdef IDX_TYPE_LONG 516 #ifdef USE_64_BIT_IDX_T
517 #define UMFPACK_ZNAME(name) umfpack_zl_ ## name 517 #define UMFPACK_ZNAME(name) umfpack_zl_ ## name
518 #else 518 #else
519 #define UMFPACK_ZNAME(name) umfpack_zi_ ## name 519 #define UMFPACK_ZNAME(name) umfpack_zi_ ## name
520 #endif 520 #endif
521 521