From 7736a50e7ff71f82907945e18ecd298fd265fb2d Mon Sep 17 00:00:00 2001 From: _ <_> Date: Tue, 24 Apr 2018 04:58:21 -0700 Subject: [PATCH] Fixed typo and correctly print geoheader --- bindings/py3devil1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)