From 438ba04efb87ad19a850582462cfd359a816e61d Mon Sep 17 00:00:00 2001 From: _ <_> Date: Mon, 23 Apr 2018 17:59:46 -0700 Subject: [PATCH] Added bindings for new functions --- bindings/py3devil1.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bindings/py3devil1.py b/bindings/py3devil1.py index 2e2aa92..ddccd4c 100755 --- a/bindings/py3devil1.py +++ b/bindings/py3devil1.py @@ -65,6 +65,10 @@ class Devil1TEX_FN(ctypes.Structure): ("printbatchdesc", ctypes.CFUNCTYPE( None, ctypes.POINTER(TextureBatchDescriptor))), + ("getheader", ctypes.CFUNCTYPE( + ctypes.c_bool, + ctypes.POINTER(ctypes.POINTER(TexturePack)), + ctypes.c_char_p)), ("getbatchdesc", ctypes.CFUNCTYPE( ctypes.c_bool, ctypes.POINTER(TextureBatchDescriptor), @@ -179,6 +183,10 @@ class Devil1GEO_FN(ctypes.Structure): ("printcoordinate", ctypes.CFUNCTYPE( None, ctypes.POINTER(Coordinate))), + ("getheader", ctypes.CFUNCTYPE( + None, + ctypes.POINTER(ctypes.POINTER(Header)), + ctypes.c_char_p)), ("getmeshheader", ctypes.CFUNCTYPE( ctypes.c_bool, ctypes.POINTER(MeshHeader),