mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-05 16:30:17 +10:00
Comment tweaks
This commit is contained in:
@@ -9,5 +9,4 @@ var b = 69;
|
||||
var c;
|
||||
var d;
|
||||
|
||||
//URGENT: reverse the assignment bytecode order
|
||||
c, d = swap(a, b);
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user