This section contains collection support for booleans such as bool. More...
Functions | |
RUAPI ru_uint | ruBoolHash (trans_ptr key) |
Returns a hash for given boolean number. More... | |
RUAPI bool | ruBoolMatch (trans_ptr testKey, trans_ptr existingKey) |
Convenience boolean match function for Maps. More... | |
RUAPI int32_t | ruBoolComp (trans_ptr testVal, trans_ptr existingVal) |
boolean comparator function for the ruType system More... | |
RUAPI ptr | ruBoolRefPtr (ptr in) |
Returns the content of the given boolean address as pointer. More... | |
RUAPI int32_t | ruRefPtrBool (ptr src, ptr *dst) |
Copies the boolean stored in src to dst. More... | |
RUAPI ruType | ruTypeBool (void) |
Returns an ruType used for booleans. More... | |
This section contains collection support for booleans such as bool.
boolean 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 boolean number.
This is nonsense for a map but is here since types are used as values as well.
key | boolean to hash |
Convenience boolean match function for Maps.
testKey | First comparison bool. |
existingKey | Second comparison bool. |
Returns the content of the given boolean address as pointer.
in | address to a boolean |
Copies the boolean stored in src to dst.
src | Where the boolean is stored, usually in the collection. |
dst | Where the value will be copied to properly type casted. |