MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getStructAlign

Function getStructAlign

src/simulate/debug_info.cpp:220–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 }
219
220 int getStructAlign ( StructInfo * info ) {
221 int al = 0;
222 for ( uint32_t i=0, is=info->count; i!=is; ++i ) {
223 al = das::max ( al, getTypeAlign(info->fields[i]) );
224 }
225 return al;
226 }
227
228 int getTupleAlign ( TypeInfo * info ) {
229 int al = 0;

Callers 1

getTypeBaseAlignFunction · 0.85

Calls 1

getTypeAlignFunction · 0.85

Tested by

no test coverage detected