cToD

Template to copy a D value from a C value.

T
cToD
(
T
)
(
void* data
)

Parameters

T

The D value type

data void*

Pointer to the C value

Return Value

Type: T

D value which is a copy of the C value