mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-10-20 09:48:17 +02:00
16 lines
400 B
Python
Executable File
16 lines
400 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
"""See https://github.com/unicorn-engine/unicorn/issues/161
|
|
|
|
Ensure that constants which are specified via a typedef, rather than an enum,
|
|
are included in the bindings by the script for autogenerating mappings for
|
|
constants.
|
|
"""
|
|
|
|
import unicorn
|
|
|
|
try:
|
|
unicorn.UC_HOOK_MEM_UNMAPPED
|
|
except AttributeError:
|
|
assert(False and "Definition for UC_HOOK_MEM_UNMAPPED not generated")
|