Function capstone_sys::cs_version [−][src]
pub unsafe extern "C" fn cs_version(
major: *mut c_int,
minor: *mut c_int
) -> c_uint
Expand description
Return combined API version & major and minor version numbers.
@major: major number of API version @minor: minor number of API version
@return hexical number as (major << 8 | minor), which encodes both major & minor versions. NOTE: This returned value can be compared with version number made with macro CS_MAKE_VERSION
For example, second API version would return 1 in @major, and 1 in @minor The return value would be 0x0101
NOTE: if you only care about returned value, but not major and minor values, set both @major & @minor arguments to NULL.