This section contains collection support for 64 Bit Integers such as int64_t. More...
Typedefs | |
typedef void * | ru_Int64 |
A pointer to an allocated 64 bit int. Free with ruFree. More... | |
Functions | |
RUAPI ru_uint | ruInt64Hash (trans_ptr key) |
Returns a hash for given 64 bit integer number. More... | |
RUAPI bool | ruInt64Match (trans_ptr s1, trans_ptr s2) |
Convenience 64 bit integer match function for Maps. More... | |
RUAPI int32_t | ruInt64Comp (trans_ptr testVal, trans_ptr existingVal) |
64 bit integer comparator function for the ruType system More... | |
RUAPI ru_Int64 | ruInt64 (ptr val) |
Allocates given 64 bit integer on the heap and returns the pointer. More... | |
RUAPI int32_t | ruRefPtrInt64 (ptr src, ptr *dst) |
Copies the 64 bit integer stored in src to dst. More... | |
RUAPI ruType | ruTypeInt64 (void) |
Returns an ruType used for 64 bit integers. More... | |
This section contains collection support for 64 Bit Integers such as int64_t.
Allocates given 64 bit integer on the heap and returns the pointer.
val | address where int to allocate is stored |
64 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 64 bit integer number.
key | Number to hash |
Convenience 64 bit integer match function for Maps.
s1 | First comparison int. |
s2 | Second comparison int. |
Copies the 64 bit integer stored in src to dst.
src | Where the 64 bit integer is stored, usually in the collection. |
dst | Where the value will be copied to properly type casted. |
RUAPI ruType ruTypeInt64 | ( | void | ) |
Returns an ruType used for 64 bit integers.
Example: