mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-19 16:54:08 +10:00
tired
This commit is contained in:
@@ -25,6 +25,10 @@ int pushLiteralArray(LiteralArray* array, Literal literal) {
|
||||
}
|
||||
|
||||
Literal popLiteralArray(LiteralArray* array) {
|
||||
if (array->count <= 0) {
|
||||
return TO_NULL_LITERAL;
|
||||
}
|
||||
|
||||
//get the return
|
||||
Literal ret = array->literals[array->count-1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user