mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 21:49:46 +00:00
python: add more information to debug()
This commit is contained in:
parent
534b416d62
commit
965ebf8a25
@ -674,5 +674,7 @@ def debug():
|
||||
if cs_support(archs[k]):
|
||||
all_archs += "-%s" %k
|
||||
|
||||
return "python-%s%s" %(diet, all_archs)
|
||||
(major, minor, _combined) = cs_version()
|
||||
|
||||
return "python-%s%s-c%u.%u-b%u.%u" %(diet, all_archs, major, minor, CS_API_MAJOR, CS_API_MINOR)
|
||||
|
||||
|
@ -280,5 +280,7 @@ def debug():
|
||||
if cc.cs_support(archs[k]):
|
||||
all_archs += "-%s" %k
|
||||
|
||||
return "CYTHON-%s%s" %(diet, all_archs)
|
||||
(major, minor, _combined) = capstone.cs_version()
|
||||
|
||||
return "Cython-%s%s-c%u.%u-b%u.%u" %(diet, all_archs, major, minor, capstone.CS_API_MAJOR, capstone.CS_API_MINOR)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user