diff --git a/bindings/py3devil1.py b/bindings/py3devil1.py index 8abc301..fea35be 100755 --- a/bindings/py3devil1.py +++ b/bindings/py3devil1.py @@ -236,7 +236,7 @@ if __name__ == "__main__": # geoheader = ctypes.cast(data, ctypes.POINTER(Header)) gh = ctypes.pointer(geoheader) devil1geo.getheader(ctypes.byref(gh), data) - devil1geo.printheader(geoheader) + devil1geo.printheader(gh) meshheader = MeshHeader() mh = ctypes.pointer(meshheader) devil1geo.getmeshheader(ctypes.byref(mh), 1, data)