#include <ToyMemType.h>
Collaboration diagram for ToyMem:

Data Fields | |
| DataType_e | type |
| Type information. | |
| ToyMem_Instruction | instruction |
| Instruction member. | |
| ToyMem_String | string |
| String member. | |
| ToyMem_Integer | integer |
| Integer member. | |
Can hold a string, integer, or instruction. 'type' is valid for every structure, so it is safe to be read from the union. DATA_ERROR denotes an unused memory item.
Note that all members occupy the same area in memory, so that only one of the instruction, string, and integer members can be valid at one time, as determined by type.
Definition at line 97 of file ToyMemType.h.
|
|
Instruction member.
Definition at line 102 of file ToyMemType.h. |
|
|
Integer member.
Definition at line 106 of file ToyMemType.h. Referenced by TMM_StoreHeapInteger(), and TMM_StoreInteger(). |
|
|
String member.
Definition at line 104 of file ToyMemType.h. Referenced by TMM_StoreHeapString(), and TMM_StoreString(). |
|
|
Type information.
Definition at line 100 of file ToyMemType.h. Referenced by TMM_Create(), TMM_EmptyFrame(), TMM_StoreHeapInteger(), TMM_StoreHeapString(), TMM_StoreInteger(), TMM_StoreString(), and TMM_SwapCreate(). |
1.3-rc3