Fixed typo and correctly print geoheader

This commit is contained in:
_ 2018-04-24 04:58:21 -07:00
parent fc7558a0b6
commit 7736a50e7f

View File

@ -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)