summaryrefslogtreecommitdiff
path: root/inc/AEEStdDef.h
blob: 1baefd2d1825a3e9eb79ec84cca32be4b9908557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
/*
* Copyright (c) 2017, The Linux Foundation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef AEESTDDEF_H
#define AEESTDDEF_H
/*
=======================================================================

FILE:         AEEStdDef.h

DESCRIPTION:  definition of basic types, constants,
                 preprocessor macros

=======================================================================
*/

#include <stdint.h>

#if defined(COMDEF_H) /* guards against a known re-definer */
#define _BOOLEAN_DEFINED
#define _UINT32_DEFINED
#define _UINT16_DEFINED
#define _UINT8_DEFINED
#define _INT32_DEFINED
#define _INT16_DEFINED
#define _INT8_DEFINED
#define _UINT64_DEFINED
#define _INT64_DEFINED
#define _BYTE_DEFINED
#endif /* #if !defined(COMDEF_H) */

/* -----------------------------------------------------------------------
** Standard Types
** ----------------------------------------------------------------------- */

/* The following definitions are the same accross platforms.  This first
** group are the sanctioned types.
*/
#ifndef _BOOLEAN_DEFINED
typedef  unsigned char      boolean;     /* Boolean value type. */
#define _BOOLEAN_DEFINED
#endif

#ifndef _UINT32_DEFINED
typedef  uint32_t           uint32;      /* Unsigned 32 bit value */
#define _UINT32_DEFINED
#endif

#ifndef _UINT16_DEFINED
typedef  unsigned short     uint16;      /* Unsigned 16 bit value */
#define _UINT16_DEFINED
#endif

#ifndef _UINT8_DEFINED
typedef  unsigned char      uint8;       /* Unsigned 8  bit value */
#define _UINT8_DEFINED
#endif

#ifndef _INT32_DEFINED
typedef  int32_t            int32;       /* Signed 32 bit value */
#define _INT32_DEFINED
#endif

#ifndef _INT16_DEFINED
typedef  signed short       int16;       /* Signed 16 bit value */
#define _INT16_DEFINED
#endif

#ifndef _INT8_DEFINED
typedef  signed char        int8;        /* Signed 8  bit value */
#define _INT8_DEFINED
#endif

#if defined(__GNUC__)
#define __int64 long long
#endif

#ifndef _UINT64_DEFINED
typedef  unsigned __int64   uint64;      /* Unsigned 64 bit value */
#define _UINT64_DEFINED
#endif

#ifndef _INT64_DEFINED
typedef  __int64            int64;       /* Signed 64 bit value */
#define _INT64_DEFINED
#endif

#ifndef _BYTE_DEFINED
typedef  unsigned char      byte;        /* byte type */
#define  _BYTE_DEFINED
#endif


#ifndef _AEEUID_DEFINED
typedef uint32             AEEUID;
#define _AEEUID_DEFINED
#endif

#ifndef _AEEIID_DEFINED
typedef uint32             AEEIID;
#define _AEEIID_DEFINED
#endif

#ifndef _AEECLSID_DEFINED
typedef uint32             AEECLSID;
#define _AEECLSID_DEFINED
#endif

#ifndef _AEEPRIVID_DEFINED
typedef uint32             AEEPRIVID;
#define _AEEPRIVID_DEFINED
#endif

#ifndef _AECHAR_DEFINED
typedef uint16             AECHAR;
#define _AECHAR_DEFINED
#endif

#ifndef _AEERESULT_DEFINED
typedef int                AEEResult;
#define _AEERESULT_DEFINED
#endif

/* -----------------------------------------------------------------------
** Function Calling Conventions
** ----------------------------------------------------------------------- */

#ifndef CDECL
#ifdef _MSC_VER
#define CDECL __cdecl
#else
#define CDECL
#endif /* _MSC_VER */
#endif /* CDECL */

/* -----------------------------------------------------------------------
** Constants
** ----------------------------------------------------------------------- */

#ifndef TRUE
#define TRUE   1   /* Boolean true value. */
#endif

#ifndef FALSE
#define FALSE  0   /* Boolean false value. */
#endif

#ifndef NULL
#define NULL  0
#endif

#ifndef MIN_INT8
#define MIN_INT8 -128
#endif
#ifndef MIN_INT16
#define MIN_INT16 -32768
#endif
#ifndef MIN_INT32
#define MIN_INT32 (~0x7fffffff)   /* -2147483648 is unsigned */
#endif
#ifndef MIN_INT64
#define MIN_INT64 (~0x7fffffffffffffffLL) /* -9223372036854775808 is unsigned */
#endif

#ifndef MAX_INT8
#define MAX_INT8 127
#endif
#ifndef MAX_INT16
#define MAX_INT16 32767
#endif
#ifndef MAX_INT32
#define MAX_INT32 2147483647
#endif
#ifndef MAX_INT64
#define MAX_INT64 9223372036854775807LL
#endif

#ifndef MAX_UINT8
#define MAX_UINT8 255
#endif
#ifndef MAX_UINT16
#define MAX_UINT16 65535
#endif
#ifndef MAX_UINT32
#define MAX_UINT32 4294967295u
#endif
#ifndef MAX_UINT64
#define MAX_UINT64 18446744073709551615uLL
#endif

#ifndef MIN_AECHAR
#define MIN_AECHAR 0
#endif
#ifndef MAX_AECHAR
#define MAX_AECHAR 65535
#endif


/* -----------------------------------------------------------------------
** Preprocessor helpers
** ----------------------------------------------------------------------- */
#define __STR__(x) #x
#define __TOSTR__(x) __STR__(x)
#define __FILE_LINE__ __FILE__ ":" __TOSTR__(__LINE__)

/* -----------------------------------------------------------------------
** Types for code generated from IDL
** ----------------------------------------------------------------------- */

#ifndef __QIDL_WCHAR_T_DEFINED__
#define __QIDL_WCHAR_T_DEFINED__
typedef uint16 _wchar_t;
#endif

/* __STRING_OBJECT__ will be deprecated in the future */
#if !defined(__QIDL_STRING_OBJECT_DEFINED__) && !defined(__STRING_OBJECT__)
#define __QIDL_STRING_OBJECT_DEFINED__
#define __STRING_OBJECT__
typedef struct _cstring_s
{
	char *data;
	int dataLen;
	int dataLenReq;
} _cstring_t;

typedef struct _wstring_s
{
	_wchar_t *data;
	int dataLen;
	int dataLenReq;
} _wstring_t;
#endif /* __QIDL_STRING_OBJECT_DEFINED__ */

/*
=======================================================================
  DATA STRUCTURES DOCUMENTATION
=======================================================================

boolean

Description:
    This type is used to express boolean values (TRUE or FALSE).

Definition:
    typedef  unsigned char boolean

See Also:
   byte
   int8
   int16
   int32
   int64
   uint32
   uint16
   uint8
   uint64

=======================================================================

uint32

Description:
    This is a 32-bit unsigned integer.

Definition:
    typedef  uint32_t uint32

See Also:
   boolean
   byte
   int8
   int16
   int32
   int64
   uint8
   uint16
   uint64

=======================================================================

uint16

Description:
    This is a 16-bit unsigned integer.

Definition:
    typedef  unsigned short     uint16

See Also:
   boolean
   byte
   int8
   int16
   int32
   int64
   uint8
   uint32
   uint64

=======================================================================

uint8

Description:
    This is an 8-bit unsigned integer.

Definition:
    typedef  unsigned char      uint8

See Also:
   boolean
   byte
   int8
   int16
   int32
   int64
   uint16
   uint32
   uint64

=======================================================================

int32

Description:
    This is a 32-bit signed integer.

Definition:
    typedef  int32_t int32

See Also:
   boolean
   byte
   int8
   int16
   int64
   uint8
   uint16
   uint32
   uint64

=======================================================================

int16

Description:
    This is a 16-bit signed integer.

Definition:
    typedef  signed short       int16

See Also:
   boolean
   byte
   int8
   int32
   int64
   uint8
   uint16
   uint32
   uint64

=======================================================================

int8

Description:
    This is an 8-bit signed integer.

Definition:
    typedef  signed char        int8

See Also:
   boolean
   byte
   int16
   int32
   int64
   uint8
   uint16
   uint32
   uint64

=======================================================================

uint64

Description:
    This is a 64-bit unsigned integer.

Definition:
    typedef  unsigned __int64   uint64

See Also:
   boolean
   byte
   int8
   int16
   int32
   int64
   uint8
   uint16
   uint32

=======================================================================

int64

Description:
    This is a 64-bit signed integer.

Definition:
    typedef  __int64            int64

See Also:
   boolean
   byte
   int8
   int16
   int32
   uint8
   uint16
   uint32
   uint64

=======================================================================

byte

Description:
    This is a byte.

Definition:
    typedef  unsigned char     byte

See Also:
   boolean
   int8
   int16
   int32
   int64
   uint8
   uint16
   uint32
   uint64

=======================================================================

AEEUID

Description:
   This is a BREW unique ID.  Used to express unique types, interfaces, classes
     groups and privileges.  The BREW ClassID Generator generates
     unique IDs that can be used anywhere you need a new AEEIID, AEECLSID,
     or AEEPRIVID.

Definition:
    typedef uint32             AEEUID

See Also:
   AECHAR
   AEECLSID
   AEEIID
   AEEPRIVID
   AEEResult

=======================================================================

AEEIID

Description:
   This is an interface ID type, used to denote a BREW interface. It is a special case
     of AEEUID.

Definition:
    typedef uint32             AEEIID

See Also:
   AECHAR
   AEECLSID
   AEEPRIVID
   AEEResult
   AEEUID

=======================================================================

AEECLSID

Description:
   This is a classe ID type, used to denote a BREW class. It is a special case
     of AEEUID.

Definition:
    typedef uint32             AEECLSID

See Also:
   AECHAR
   AEECLSIDs
   AEEIID
   AEEPRIVID
   AEEResult
   AEEUID

=======================================================================

AEEPRIVID

Description:
   This is a privilege ID type, used to express a privilege.  It is a special case
     of AEEUID.

Definition:
    typedef uint32             AEEPRIVID

See Also:
   AECHAR
   AEECLSID
   AEEIID
   AEEResult
   AEEUID

=======================================================================

AECHAR

Description:
   This is a 16-bit character type.

Definition:
   typedef uint16             AECHAR

See Also:
   AEEPRIVID
   AEECLSID
   AEEIID
   AEEResult
   AEEUID

=======================================================================

AEEResult

Description:
   This is the standard result type.

Definition:
   typedef int                AEEResult

See Also:
   AECHAR
   AEEPRIVID
   AEECLSID
   AEEIID
   AEEUID

=======================================================================

_wchar_t

Description:
   This is a 16-bit character type corresponding to the IDL 'wchar'
   type.

Definition:
   typedef uint16             _wchar_t

See Also:
   _cstring_t
   _wstring_t

=======================================================================

_cstring_t

Description:
   This structure is used to represent an IDL string when used inside a
   sequence or union.

Definition:
   typedef struct _cstring_s {
      char* data;
      int dataLen;
      int dataLenReq;
   } _cstring_t;

Members:
   data       : A pointer to the NULL-terminated string.
   dataLen    : The size, in chars, of the buffer pointed to by 'data',
                including the NULL terminator.  This member is only used
                when the structure is part of an rout or inrout
                parameter, but must be supplied by the caller as an
                input in these cases.
   dataLenReq : The size that would have been required to store the
                entire result string.  This member is only used when the
                structure is part of an rout or inrout parameter, when
                it is an output value set by the callee.  The length of
                the returned string (including the NULL terminator)
                after a call is the minimum of dataLen and dataLenReq.

See Also:
   _wchar_t
   _wstring_t

=======================================================================

_wstring_t

Description:
   This structure is used to represent an IDL wstring when used inside a
   sequence or union.

Definition:
   typedef struct _wstring_s {
      _wchar_t* data;
      int dataLen;
      int dataLenReq;
   } _wstring_t;

Members:
   data       : A pointer to the NULL-terminated wide string.
   dataLen    : The size, in 16-bit characters, of the buffer pointed to
                by 'data', including the NULL terminator.  This member
                is only used when the structure is part of an rout or
                inrout parameter, but must be supplied by the caller as
                an input in these cases.
   dataLenReq : The number of 16-bit characters that would have been
                required to store the entire result string.  This member
                is only used when the structure is part of an rout or
                inrout parameter, when it is an output value set by the
                callee.  The length of the returned wstring (including
                the NULL terminator) after a call is the minimum of
                dataLen and dataLenReq.

See Also:
   _cstring_t
   _wchar_t

=======================================================================
CONSTANTS DOCUMENTATION
=======================================================================

TRUE

Description:
   TRUE is the boolean "true."

Definition:

   #define TRUE    1

See Also:
   FALSE
   NULL

=======================================================================

FALSE

Description:
   FALSE is the boolean "false."

Definition:

   #define FALSE   0

See Also:
   NULL
   TRUE

=======================================================================

NULL

Description:
   NULL is the null value, usually used to test a pointer.

Definition:

   #define NULL   0

See Also:
   FALSE
   TRUE

=======================================================================

MIN_INT8

Description:
  MIN_INT8 is the minimum signed 8-bit integer value.

Definition:

   #define MIN_INT8  -128

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MIN_INT16

Description:
  MIN_INT16 is the minimum signed 16-bit integer value

Definition:

   #define MIN_INT16  -32768

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT32
   MIN_INT64

=======================================================================

MIN_INT32

Description:
   MIN_INT32 is the minimum signed 32-bit integer value.

Definition:

   #define MIN_INT32 (~0x7fffffff)

Comments:
    Brew MP uses (~0x7fffffff), because -2147483648 is treated as unsigned by compilers.

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT64

=======================================================================

MIN_INT64

Description:
   MIN_INT64 is the minimum signed 64-bit integer value.

Definition:

   #define MIN_INT64 (~0x7fffffffffffffffll)

Comments:
    Brew MP uses (~0x7fffffffffffffffll), because -9223372036854775808 is
       treated as unsigned by compilers.

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32

=======================================================================

MAX_INT8

Description:
   MAX_INT8 is the maximum signed 8-bit integer value

Definition:

   #define MAX_INT8  127

See Also:
   MAX_AECHAR
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_INT16

Description:
   MAX_INT16 is the maximum signed 16-bit integer value.

Definition:

   #define MAX_INT16  32767

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_INT32

Description:
   MAX_INT32 is the maximum signed 32-bit integer value.

Definition:

   #define MAX_INT32  2147483647

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_INT64

Description:
   MAX_INT64 is the maximum signed 64-bit integer value.

Definition:

   #define MAX_INT64  9223372036854775807ll

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_UINT8

Description:
   MAX_UINT8 is the maximum unsigned 8-bit integer value.

Definition:

   #define MAX_UINT8  255

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_UINT16

Description:
   MAX_UINT16 is the maximum unsigned 16-bit integer value.

Definition:

   #define MAX_UINT16  65535

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT32
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_UINT32

Description:
   MAX_UINT32 is the maximum unsigned 32-bit integer value.

Definition:

   #define MAX_UINT32  4294967295u

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT64
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_UINT64

Description:
   MAX_UINT64 is the maximum unsigned 64-bit integer value.

Definition:

   #define MAX_UINT64  18446744073709551615ull

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MIN_AECHAR
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MIN_AECHAR

Description:
  MIN_AECHAR is the minimum AECHAR value.

Definition:

   #define MIN_AECHAR  0

See Also:
   MAX_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================

MAX_AECHAR

Description:
  MAX_AECHAR is the maximum AECHAR value.

Definition:

   #define MAX_AECHAR  65535

See Also:
   MIN_AECHAR
   MAX_INT8
   MAX_INT16
   MAX_INT32
   MAX_INT64
   MAX_UINT8
   MAX_UINT16
   MAX_UINT32
   MAX_UINT64
   MIN_INT8
   MIN_INT16
   MIN_INT32
   MIN_INT64

=======================================================================
MACROS DOCUMENTATION
=======================================================================

__STR__()

Description:
   The __STR__() makes a token into a string, used to string-ize things already
      defined.

Definition:

   #define __STR__(x)  #x

Parameters:
    x: token to make into a string

See Also:
   __TOSTR__()
   __FILE_LINE__

=======================================================================

__TOSTR__()

Description:
   The __TOSTR__() makes a token's value into a string, used to string-ize things
    already defined, used with __STR__.

Definition:

   #define __TOSTR__(x)  __STR__(x)

Parameters:
    x: token to evaluate and string-ize

Evaluation Value:
    the token's replacement as a string

See Also:
   __FILE_LINE__
   __STR__()

=======================================================================

__FILE_LINE__

Description:
   The compiler's __FILE__ (a string) and __LINE__ (an integer) are pasted
     together as a single string with a ":" between.

Definition:

   #define __FILE_LINE__ __FILE__ ":"  __TOSTR__(__LINE__)

Evaluation Value:
   __FILE__":""__LINE__"

See Also:
   __STR__()
   __TOSTR__()

=======================================================================
*/

#endif /* #ifndef AEESTDDEF_H */