This section contains collection support for 32 Bit Integers such as int32_t. More...
Functions | |
RUAPI ru_uint | ruInt32Hash (trans_ptr key) |
Returns a hash for given 32 bit integer number. More... | |
RUAPI bool | ruInt32Match (trans_ptr testKey, trans_ptr existingKey) |
Convenience 32 bit integer match function for Maps. More... | |
RUAPI int32_t | ruInt32Comp (trans_ptr testVal, trans_ptr existingVal) |
32 bit integer comparator function for the ruType system More... | |
RUAPI ptr | ruInt32RefPtr (ptr in) |
Returns the content of the given 32 bit integer address as pointer. More... | |
RUAPI int32_t | ruRefPtrInt32 (ptr src, ptr *dst) |
Copies the 32 bit integer stored in src to dst. More... | |
RUAPI ruType | ruTypeInt32 (void) |
Returns an ruType used for 32 bit integers. More... | |
This section contains collection support for 32 Bit Integers such as int32_t.
32 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 32 bit integer number.
key | Number to hash |
Convenience 32 bit integer match function for Maps.
testKey | First comparison int. |
existingKey | Second comparison int. |
Returns the content of the given 32 bit integer address as pointer.
in | address to 32 bit integer |
Copies the 32 bit integer stored in src to dst.
src | Where the 32 bit integer is stored, usually in the collection. |
dst | Where the value will be copied to properly type casted. |