Skip to main content

encode_abi_version

Function encode_abi_version 

Source
pub fn encode_abi_version(major: u16, minor: u16) -> u32
Expand description

Encode a (major, minor) pair into a single ABI version word.

The upper 16 bits hold major, the lower 16 bits hold minor.