41 # if defined(RT_DLL_EXPORTS) && defined(RT_DLL_IMPORTS)
42 # error "Only RT_DLL_EXPORTS or RT_DLL_IMPORTS can be defined, not both."
43 # elif defined(RT_DLL_EXPORTS)
44 # define RT_EXPORT COMPILER_DLLEXPORT
45 # elif defined(RT_DLL_IMPORTS)
46 # define RT_EXPORT COMPILER_DLLIMPORT
67 #define DB5HDR_MAGIC1 0x76
68 #define DB5HDR_MAGIC2 0x35
71 #define DB5HDR_HFLAGS_DLI_MASK 0x03
72 #define DB5HDR_HFLAGS_DLI_APPLICATION_DATA_OBJECT 0
73 #define DB5HDR_HFLAGS_DLI_HEADER_OBJECT 1
74 #define DB5HDR_HFLAGS_DLI_FREE_STORAGE 2
75 #define DB5HDR_HFLAGS_HIDDEN_OBJECT 0x4
76 #define DB5HDR_HFLAGS_NAME_PRESENT 0x20
77 #define DB5HDR_HFLAGS_OBJECT_WIDTH_MASK 0xc0
78 #define DB5HDR_HFLAGS_OBJECT_WIDTH_SHIFT 6
79 #define DB5HDR_HFLAGS_NAME_WIDTH_MASK 0x18
80 #define DB5HDR_HFLAGS_NAME_WIDTH_SHIFT 3
82 #define DB5HDR_WIDTHCODE_8BIT 0
83 #define DB5HDR_WIDTHCODE_16BIT 1
84 #define DB5HDR_WIDTHCODE_32BIT 2
85 #define DB5HDR_WIDTHCODE_64BIT 3
88 #define DB5HDR_AFLAGS_ZZZ_MASK 0x07
89 #define DB5HDR_AFLAGS_PRESENT 0x20
90 #define DB5HDR_AFLAGS_WIDTH_MASK 0xc0
91 #define DB5HDR_AFLAGS_WIDTH_SHIFT 6
94 #define DB5HDR_BFLAGS_ZZZ_MASK 0x07
95 #define DB5HDR_BFLAGS_PRESENT 0x20
96 #define DB5HDR_BFLAGS_WIDTH_MASK 0xc0
97 #define DB5HDR_BFLAGS_WIDTH_SHIFT 6
108 #define DB5_GLOBAL_OBJECT_NAME "_GLOBAL"
111 #define DB5_ZZZ_UNCOMPRESSED 0
112 #define DB5_ZZZ_GNU_GZIP 1
113 #define DB5_ZZZ_BURROUGHS_WHEELER 2
117 #define DB5_MAJORTYPE_RESERVED 0
118 #define DB5_MAJORTYPE_BRLCAD 1
119 #define DB5_MAJORTYPE_ATTRIBUTE_ONLY 2
120 #define DB5_MAJORTYPE_BINARY_MASK 0x18
121 #define DB5_MAJORTYPE_BINARY_UNIF 9
122 #define DB5_MAJORTYPE_BINARY_MIME 10
128 #define DB5_MINORTYPE_RESERVED 0
129 #define DB5_MINORTYPE_BRLCAD_TOR 1
130 #define DB5_MINORTYPE_BRLCAD_TGC 2
131 #define DB5_MINORTYPE_BRLCAD_ELL 3
132 #define DB5_MINORTYPE_BRLCAD_ARB8 4
133 #define DB5_MINORTYPE_BRLCAD_ARS 5
134 #define DB5_MINORTYPE_BRLCAD_HALF 6
135 #define DB5_MINORTYPE_BRLCAD_REC 7
136 #define DB5_MINORTYPE_BRLCAD_POLY 8
137 #define DB5_MINORTYPE_BRLCAD_BSPLINE 9
138 #define DB5_MINORTYPE_BRLCAD_SPH 10
139 #define DB5_MINORTYPE_BRLCAD_NMG 11
140 #define DB5_MINORTYPE_BRLCAD_EBM 12
141 #define DB5_MINORTYPE_BRLCAD_VOL 13
142 #define DB5_MINORTYPE_BRLCAD_ARBN 14
143 #define DB5_MINORTYPE_BRLCAD_PIPE 15
144 #define DB5_MINORTYPE_BRLCAD_PARTICLE 16
145 #define DB5_MINORTYPE_BRLCAD_RPC 17
146 #define DB5_MINORTYPE_BRLCAD_RHC 18
147 #define DB5_MINORTYPE_BRLCAD_EPA 19
148 #define DB5_MINORTYPE_BRLCAD_EHY 20
149 #define DB5_MINORTYPE_BRLCAD_ETO 21
150 #define DB5_MINORTYPE_BRLCAD_GRIP 22
151 #define DB5_MINORTYPE_BRLCAD_JOINT 23
152 #define DB5_MINORTYPE_BRLCAD_HF 24
153 #define DB5_MINORTYPE_BRLCAD_DSP 25
154 #define DB5_MINORTYPE_BRLCAD_SKETCH 26
155 #define DB5_MINORTYPE_BRLCAD_EXTRUDE 27
156 #define DB5_MINORTYPE_BRLCAD_SUBMODEL 28
157 #define DB5_MINORTYPE_BRLCAD_CLINE 29
158 #define DB5_MINORTYPE_BRLCAD_BOT 30
159 #define DB5_MINORTYPE_BRLCAD_COMBINATION 31
163 #define DB5_MINORTYPE_BRLCAD_SUPERELL 35
164 #define DB5_MINORTYPE_BRLCAD_METABALL 36
165 #define DB5_MINORTYPE_BRLCAD_BREP 37
166 #define DB5_MINORTYPE_BRLCAD_HYP 38
168 #define DB5_MINORTYPE_BRLCAD_CONSTRAINT 39
170 #define DB5_MINORTYPE_BRLCAD_REVOLVE 40
171 #define DB5_MINORTYPE_BRLCAD_PNTS 41
172 #define DB5_MINORTYPE_BRLCAD_ANNOT 42
173 #define DB5_MINORTYPE_BRLCAD_HRT 43
174 #define DB5_MINORTYPE_BRLCAD_DATUM 44
175 #define DB5_MINORTYPE_BRLCAD_SCRIPT 45
176 #define DB5_MINORTYPE_BRLCAD_MATERIAL 46
179 #define DB5_MINORTYPE_BINU_WID_MASK 0x30
180 #define DB5_MINORTYPE_BINU_SGN_MASK 0x08
181 #define DB5_MINORTYPE_BINU_ATM_MASK 0x07
182 #define DB5_MINORTYPE_BINU_FLOAT 0x02
183 #define DB5_MINORTYPE_BINU_DOUBLE 0x03
184 #define DB5_MINORTYPE_BINU_8BITINT_U 0x04
185 #define DB5_MINORTYPE_BINU_16BITINT_U 0x05
186 #define DB5_MINORTYPE_BINU_32BITINT_U 0x06
187 #define DB5_MINORTYPE_BINU_64BITINT_U 0x07
188 #define DB5_MINORTYPE_BINU_8BITINT 0x0c
189 #define DB5_MINORTYPE_BINU_16BITINT 0x0d
190 #define DB5_MINORTYPE_BINU_32BITINT 0x0e
191 #define DB5_MINORTYPE_BINU_64BITINT 0x0f
223 #define RT_CK_RIP(_ptr) BU_CKMAG( _ptr, DB5_RAW_INTERNAL_MAGIC, "db5_raw_internal" )
Header file for the BRL-CAD common definitions.
const char * binu_types[]
struct bu_external attributes
unsigned char h_name_present
unsigned char h_object_width
unsigned char h_name_width
unsigned char h_name_hidden