type_struct_class

Create a struct/union/class type.

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

Parameters

name const(char)*

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

is0size bool

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

Return Value

Type: type*

Tcount already incremented

Meta