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. | |
| RUAPI bool | ruBoolMatch (trans_ptr testKey, trans_ptr existingKey) |
| Convenience boolean match function for Maps. | |
| RUAPI int32_t | ruBoolComp (trans_ptr testVal, trans_ptr existingVal) |
| boolean comparator function for the ruType system | |
| RUAPI ptr | ruBoolRefPtr (ptr in) |
| Returns the content of the given boolean address as pointer. | |
| RUAPI int32_t | ruRefPtrBool (ptr src, ptr *dst) |
| Copies the boolean stored in src to dst. | |
| RUAPI ruType | ruTypeBool (void) |
| Returns an ruType used for booleans. | |
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. |