This section contains collection support for 16 Bit Integers such as int16_t. More...
Functions | |
RUAPI ru_uint | ruInt16Hash (trans_ptr key) |
Returns a hash for given 16 bit integer number. More... | |
RUAPI bool | ruInt16Match (trans_ptr testKey, trans_ptr existingKey) |
Convenience 16 bit integer match function for Maps. More... | |
RUAPI int32_t | ruInt16Comp (trans_ptr testVal, trans_ptr existingVal) |
16 bit integer comparator function for the ruType system More... | |
RUAPI ptr | ruInt16RefPtr (ptr in) |
Returns the content of the given 16 bit integer address as pointer. More... | |
RUAPI int32_t | ruRefPtrInt16 (ptr src, ptr *dst) |
Copies the 16 bit integer stored in src to dst. More... | |
RUAPI ruType | ruTypeInt16 (void) |
Returns an ruType used for 16 bit integers. More... | |
This section contains collection support for 16 Bit Integers such as int16_t.
16 bit integer comparator function for the ruType system
testVal | Value to compare against existing value. |
existingVal | The existing value to compare testVal to. |
Returns a hash for given 16 bit integer number.
key | Number to hash |
Convenience 16 bit integer match function for Maps.
testKey | First comparison int. |
existingKey | Second comparison int. |
Returns the content of the given 16 bit integer address as pointer.
in | address to 16 bit integer |
Copies the 16 bit integer stored in src to dst.
src | Where the 16 bit integer is stored, usually in the collection. |
dst | Where the value will be copied to properly type casted. |