Add const to uc_reg_write and derivitives

This commit is contained in:
Chris Eagle
2015-08-24 09:42:50 -07:00
parent f221195bf6
commit 5c3b681945
15 changed files with 19 additions and 17 deletions

2
include/unicorn/unicorn.h Normal file → Executable file
View File

@@ -274,7 +274,7 @@ const char *uc_strerror(uc_err code);
for detailed error).
*/
UNICORN_EXPORT
uc_err uc_reg_write(uch handle, int regid, void *value);
uc_err uc_reg_write(uch handle, int regid, const void *value);
/*
Read register value.