mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Working on improving crypto stuff
This commit is contained in:
@@ -56,4 +56,7 @@ def print_ctypes_struct(struct, name="", ident=0, hexa=False):
|
||||
except Exception as e:
|
||||
print("Error while printing <{0}> : {1}".format(fname, e))
|
||||
continue
|
||||
print_ctypes_struct(value, "{0}.{1}".format(name, fname), hexa=hexa)
|
||||
print_ctypes_struct(value, "{0}.{1}".format(name, fname), hexa=hexa)
|
||||
|
||||
def sprint(struct, name="struct", hexa=True):
|
||||
return print_ctypes_struct(struct, name=name, hexa=hexa)
|
||||
Reference in New Issue
Block a user