type_struct_class

Create a struct/union/class type.

version(COMPILE)
extern (C++) nothrow
type*
type_struct_class
(
const(char)* name
,,,
type* arg1type
,
type* arg2type
,
bool isUnion
,
bool isClass
,
bool isPOD
,
bool is0size
)

Parameters

name
Type: const(char)*

name of struct (this function makes its own copy of the string)

is0size
Type: bool

if struct has no fields (even if Sstructsize is 1)

Return Value

Type: type*

Tcount already incremented

Meta