![]() |
Toy 1.1.6
The Toy programming language is an imperative bytecode-intermediate embedded scripting language
|
@????@ More...
Go to the source code of this file.
Data Structures | |
| struct | Toy_LiteralArray |
| @????@ More... | |
Typedefs | |
| typedef struct Toy_LiteralArray | Toy_LiteralArray |
Functions | |
| TOY_API void | Toy_initLiteralArray (Toy_LiteralArray *array) |
| initializes a Toy_LiteralArray pointed to by array. | |
| TOY_API void | Toy_freeLiteralArray (Toy_LiteralArray *array) |
| Frees a Toy_LiteralArray pointed to by array. Every literal within is passed to Toy_freeLiteral before its memory is released. | |
| TOY_API int | Toy_pushLiteralArray (Toy_LiteralArray *array, Toy_Literal literal) |
| Adds a new literal to the end of the array, growing the array's internal buffer if needed. | |
| TOY_API Toy_Literal | Toy_popLiteralArray (Toy_LiteralArray *array) |
| Removes the literal at the end of the array. | |
| TOY_API bool | Toy_setLiteralArray (Toy_LiteralArray *array, Toy_Literal index, Toy_Literal value) |
| Frees the literal at the position represented by the integer literal index, and stores value in its place. | |
| TOY_API Toy_Literal | Toy_getLiteralArray (Toy_LiteralArray *array, Toy_Literal index) |
| Returns the literal at the position represented by the integer literal index, or returns a null literal if none is found. If index is not an integer literal or is out of bounds, this function returns a null literal. | |
| int | Toy_findLiteralIndex (Toy_LiteralArray *array, Toy_Literal literal) |
| @????@ | |
@????@
| int Toy_findLiteralIndex | ( | Toy_LiteralArray * | array, |
| Toy_Literal | literal | ||
| ) |
@????@
| array | |
| literal |
| void Toy_freeLiteralArray | ( | Toy_LiteralArray * | array | ) |
Frees a Toy_LiteralArray pointed to by array. Every literal within is passed to Toy_freeLiteral before its memory is released.
| array |
| Toy_Literal Toy_getLiteralArray | ( | Toy_LiteralArray * | array, |
| Toy_Literal | index | ||
| ) |
Returns the literal at the position represented by the integer literal index, or returns a null literal if none is found. If index is not an integer literal or is out of bounds, this function returns a null literal.
| array | |
| index |
| void Toy_initLiteralArray | ( | Toy_LiteralArray * | array | ) |
initializes a Toy_LiteralArray pointed to by array.
| array |
| Toy_Literal Toy_popLiteralArray | ( | Toy_LiteralArray * | array | ) |
Removes the literal at the end of the array.
| array |
| int Toy_pushLiteralArray | ( | Toy_LiteralArray * | array, |
| Toy_Literal | literal | ||
| ) |
Adds a new literal to the end of the array, growing the array's internal buffer if needed.
| array | |
| literal |
| bool Toy_setLiteralArray | ( | Toy_LiteralArray * | array, |
| Toy_Literal | index, | ||
| Toy_Literal | value | ||
| ) |
Frees the literal at the position represented by the integer literal index, and stores value in its place.
| array | |
| index | |
| value |