mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-04 14:07:42 +00:00
on some hook events, uc_hook_add() should not allow more than 1 handler. this add UC_ERR_HOOK_EXIST error type
This commit is contained in:
parent
5b24c24e82
commit
b1d41d414b
6 changed files with 46 additions and 10 deletions
|
|
@ -50,6 +50,7 @@ UC_ERR_ARG = 15
|
|||
UC_ERR_READ_UNALIGNED = 16
|
||||
UC_ERR_WRITE_UNALIGNED = 17
|
||||
UC_ERR_FETCH_UNALIGNED = 18
|
||||
UC_ERR_HOOK_EXIST = 19
|
||||
UC_MEM_READ = 16
|
||||
UC_MEM_WRITE = 17
|
||||
UC_MEM_FETCH = 18
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue