Mercurial > octave
annotate liboctave/array/uint32NDArray.h @ 21785:c9f8a7f7915e
use forward declarations instead of including oct-inttypes.h where possible
* oct-inttypes-fwd.h: New file.
* liboctave/util/module.mk: Update.
* oct-inttypes.h, pr-output.h, Array.cc, dNDArray.h, fNDArray.h,
idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h,
int8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h,
uint8NDArray.h, lo-mappers.h, data-conv.h: Include oct-inttypes-fwd.h
instead of oct-inttypes.h where possible.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 27 May 2016 15:19:45 -0400 |
parents | 1473547f50f5 |
children | bac0d6f07a3e |
rev | line source |
---|---|
4902 | 1 /* |
2 | |
19697
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
3 Copyright (C) 2004-2015 John W. Eaton |
4902 | 4 |
5 This file is part of Octave. | |
6 | |
7 Octave is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
7016 | 9 Free Software Foundation; either version 3 of the License, or (at your |
10 option) any later version. | |
4902 | 11 |
12 Octave is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
7016 | 18 along with Octave; see the file COPYING. If not, see |
19 <http://www.gnu.org/licenses/>. | |
4902 | 20 |
21 */ | |
22 | |
20791
f7084eae3318
maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents:
19697
diff
changeset
|
23 #if ! defined (octave_uint32NDArray_h) |
4902 | 24 #define octave_uint32NDArray_h 1 |
25 | |
21244
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
26 #include "octave-config.h" |
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
27 |
4902 | 28 #include "intNDArray.h" |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
7189
diff
changeset
|
29 #include "mx-op-decl.h" |
21785
c9f8a7f7915e
use forward declarations instead of including oct-inttypes.h where possible
John W. Eaton <jwe@octave.org>
parents:
21244
diff
changeset
|
30 #include "oct-inttypes-fwd.h" |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
31 #include "bsxfun-decl.h" |
4902 | 32 |
33 typedef intNDArray<octave_uint32> uint32NDArray; | |
34 | |
6708 | 35 NDS_CMP_OP_DECLS (uint32NDArray, octave_uint32, OCTAVE_API) |
36 NDS_BOOL_OP_DECLS (uint32NDArray, octave_uint32, OCTAVE_API) | |
4902 | 37 |
6708 | 38 SND_CMP_OP_DECLS (octave_uint32, uint32NDArray, OCTAVE_API) |
39 SND_BOOL_OP_DECLS (octave_uint32, uint32NDArray, OCTAVE_API) | |
4902 | 40 |
6708 | 41 NDND_CMP_OP_DECLS (uint32NDArray, uint32NDArray, OCTAVE_API) |
42 NDND_BOOL_OP_DECLS (uint32NDArray, uint32NDArray, OCTAVE_API) | |
4902 | 43 |
10350
12884915a8e4
merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents:
10329
diff
changeset
|
44 MARRAY_FORWARD_DEFS (MArray, uint32NDArray, octave_uint32) |
4902 | 45 |
10329
83fa590b8a09
simplify min/max definitions in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
10158
diff
changeset
|
46 MINMAX_DECLS (uint32NDArray, octave_uint32, OCTAVE_API) |
7189 | 47 |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
48 BSXFUN_STDOP_DECLS (uint32NDArray, OCTAVE_API) |
13012
15eefbd9d4e8
Implement a few missing automatic bsxfun power operators
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
11523
diff
changeset
|
49 BSXFUN_MIXED_INT_DECLS(uint32NDArray, OCTAVE_API) |
9743
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
50 BSXFUN_STDREL_DECLS (uint32NDArray, OCTAVE_API) |
26abff55f6fe
optimize bsxfun for common built-in operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
51 |
4902 | 52 #endif |