mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-08 01:31:09 +10:00
Fixed API naming convention
Anything prepended with TOY_API is 'public'. Anything that starts with Toy_private_* shouldn't be touched.
This commit is contained in:
@@ -84,7 +84,7 @@ void inspect_value(Toy_Ast* ast, int depth) {
|
||||
Toy_String* str = Toy_stringifyValue(&bucket, ast->value.value);
|
||||
|
||||
char* buffer = Toy_getStringRaw(str); //SLOW
|
||||
printf("%s '%s'", Toy_private_getValueTypeAsCString(ast->value.value.type), buffer);
|
||||
printf("%s '%s'", Toy_getValueTypeAsCString(ast->value.value.type), buffer);
|
||||
free(buffer);
|
||||
|
||||
Toy_freeString(str);
|
||||
|
||||
Reference in New Issue
Block a user