add option UC_ERR_OPT_INVALID to uc_strerror()

This commit is contained in:
Nguyen Anh Quynh 2016-03-22 13:58:07 +08:00
parent 66526d775b
commit 8336852e81
2 changed files with 3 additions and 1 deletions

2
uc.c
View file

@ -96,6 +96,8 @@ const char *uc_strerror(uc_err code)
return "Fetch from unaligned memory (UC_ERR_FETCH_UNALIGNED)";
case UC_ERR_RESOURCE:
return "Insufficient resource (UC_ERR_RESOURCE)";
case UC_ERR_OPT_INVALID:
return "Invalid option (UC_ERR_OPT_INVALID)";
}
}