Previous: objects symbols values, Up: objects symbols [Index]
Symbol objects are allocated on the heap and must be interned, that is registered in a global symbol table.
Integer values used to tag and recognise the first word in symbol memory
blocks. symbol_mask
isolates the tag bits from an ikptr_t
and
symbol_tag
represents the tag bits.
Number of bytes needed to hold a symbol memory block.
Symbol field displacements. The number of bytes to add to an untagged pointer to symbol to get the pointer to the first byte in the word holding the specified field.
Symbol field offsets. The number of bytes to add to an tagged pointer to symbol to get the pointer to the first byte in the word holding the specified field.
Return true if obj is a symbol.
Return a Scheme symbol object whose name is the Scheme string
str. This function is the same as iku_string_to_symbol()
.