callbackDestructor

Use callback stored in annotation to destroy a component of type T

@safe
callbackDestructor
(
T
Dg : void delegate
(
RCIAllocator
,,
Args
)
Args...
)
(
Dg dg
,
Args args
)

Parameters

dg Dg

callback used to destroy the component

args Args

arguments passed to callback to destroy the component

Meta