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:
2026-05-06 16:12:50 +10:00
parent 60a0fe8907
commit 185f3896c5
15 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ TOY_API Toy_Value* Toy_accessScopeAsPointer(Toy_Scope* scope, Toy_String* key);
TOY_API bool Toy_isDeclaredScope(Toy_Scope* scope, Toy_String* key);
//manage refcounting
TOY_API void Toy_private_incrementScopeRefCount(Toy_Scope* scope);
TOY_API void Toy_private_decrementScopeRefCount(Toy_Scope* scope);
void Toy_private_incrementScopeRefCount(Toy_Scope* scope);
void Toy_private_decrementScopeRefCount(Toy_Scope* scope);
//some useful sizes, could be swapped out as needed
#ifndef TOY_SCOPE_INITIAL_CAPACITY