TypeKind.FuncPtrInfo

The type 'extern int (*e_g)(int pa)'.

attrs is only for the pointers, never the final pointee. In the example shown about it would have length 1.

TODO improve formatting with more separation, f.e return, ptr and args. TODO add a USRType for the FuncPrototype.

struct TypeKind
pure @safe nothrow @nogc static
struct FuncPtrInfo {}

Members

Variables

attrs
TypeAttr[] attrs;

attributes of the pointer hierarchy. attr[0] is the right most ptr.

fmt
FuncPtrFmt fmt;

int (%s %s)(int pa)

pointee
USRType pointee;

USRs up the pointee

Meta