might need the library object to call into the library...

develop
doomchild 2011-03-30 11:56:16 -05:00
parent 73a7be3b34
commit 9ef8059079
1 changed files with 1 additions and 1 deletions

@ -1,5 +1,5 @@
from ctypes import *
from dftypes import GameModes
from dftypes import libdfhack, GameModes
from util import _uintify, uint_ptr
libdfhack.World_ReadGameMode.argtypes = [ c_void_p, POINTER(GameModes) ]