Methods for managing primitives
- Parameters
-
- Returns
- The string representation of the given type
Check the value is of a given type
- Parameters
-
| val | The value to check |
| type | The expected type |
- Returns
- TRUE or FALSE
This doesn't coerce types, merely checks that the value is or isn't of the desired type
Relase memory associated with this value
- Parameters
-
- See Also
- memory
Presuming the value was not allocated for shim_args_t or being used for shim_args_set_rval() use this method to free the allocated memory
Convert the value to a given type
- Parameters
-
| ctx | The currently executed context |
| val | The given value |
| type | The desired type |
| rval | The destination value |
- Returns
- TRUE or FALSE
Attempts to coerce the given value into another type, if it fails to do so returns FALSE.