Comment tweaks

This commit is contained in:
2026-04-24 13:01:38 +10:00
parent 21819b2d62
commit b589392b9e
3 changed files with 9 additions and 9 deletions
-8
View File
@@ -20,11 +20,3 @@ TOY_API Toy_Array* Toy_resizeArray(Toy_Array* array, unsigned int capacity);
#ifndef TOY_ARRAY_EXPANSION_RATE
#define TOY_ARRAY_EXPANSION_RATE 2
#endif
//TODO: array.getLength()
//TODO: array.pushFront(x)
//TODO: array.pushBack(x)
//TODO: array.popFront()
//TODO: array.popBack()
//TODO: array.toString()
+9
View File
@@ -439,6 +439,15 @@ static void processAttribute(Toy_VM* vm) {
//URGENT: type-based attributes
Toy_pushStack(&vm->stack, TOY_VALUE_FROM_NULL()); //tmp
//string.length
//array.length
//array.pushFront(x)
//array.pushBack(x)
//array.popFront()
//array.popBack()
//array.toString()
//table etc.
//cleanup
Toy_freeValue(value);
Toy_freeValue(attribute);