import tables, strutils
import glib
var
keyLookupTable: tables.TTable[guint, string]
stateLookupTable: tables.TTable[guint, string]
ShortcutUtils.nim(5, 31) Error: cannot instantiate Table got: (typedesc[guint], proc (GVariant, var gsize): cstring{.cdecl.} | string | proc (GMatchInfo): cstring{.cdecl.} | proc (GChecksum): cstring{.cdecl.} | proc (GHmac): cstring{.cdecl.} | proc (GKeyFile, cstring, cstring, var GError): cstring{.cdecl.}) but expected: (A, B)
Copy of glib.nim is at http://ssalewski.de/tmp/glib.nim
Have no idea currently... This is for Nim 0.10.3
And this does not work also, similar error message.
import tables, strutils
import glib
var
keyLookupTable: tables.TTable[int, string]
stateLookupTable: tables.TTable[int, string]