commit | 9518148e6f7a30c06a1f82e655e1727143ff8632 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <[email protected]> | Tue Mar 25 23:20:41 2014 +0800 |
committer | Nguyen Anh Quynh <[email protected]> | Tue Mar 25 23:20:41 2014 +0800 |
tree | b952702f26d77afa56e724804923b9ca1219a8a7 | |
parent | e2bdcf064c0725bc64ec36ce2f63a84e1180c7d2 [diff] [blame] |
add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change
diff --git a/cs.c b/cs.c index 7f72597..d1df809 100644 --- a/cs.c +++ b/cs.c
@@ -110,6 +110,14 @@ #endif } + if (query == CS_SUPPORT_X86_COMPACT) { +#if defined(CAPSTONE_HAS_X86) && defined(CAPSTONE_X86_COMPACT) + return true; +#else + return false; +#endif + } + // unsupported query return false; }