dToC

Template to copy a C value from a D value.

void
dToC
(
T
)
(
T val
,
void* data
)

Parameters

T

The D value type

val T

The D value to copy

data void*

Pointer to the location to store the C value