gHashTableFromD

Convert a D map to a GHashTable.

gHashTableFromD
(
K
V
)
(
V[K] map
)
if (
(
is(K == string) ||
is(K == const(void)*)
)
&&
(
is(V : ObjectG) ||
is(V == interface)
||
is(V == string)
||
is(V == void*)
)
)

Parameters

K

The key type

V

The value type

map V[K]

The D map

Return Value

Type: GHashTable*

A newly allocated GHashTable.