mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Added tags to opaque data type
This commit is contained in:
@@ -101,7 +101,7 @@ static int produce(Interpreter* interpreter, LiteralArray* arguments) {
|
||||
ArbitraryData* data = ALLOCATE(ArbitraryData, 1);
|
||||
data->value = 42;
|
||||
|
||||
Literal o = TO_OPAQUE_LITERAL(data);
|
||||
Literal o = TO_OPAQUE_LITERAL(data, 0);
|
||||
|
||||
pushLiteralArray(&interpreter->stack, o);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user