TomlTable_get -> TomlTable_tryGet

This commit is contained in:
2026-06-07 21:54:33 +05:00
parent 5cb121d1de
commit b95b6b150d
3 changed files with 11 additions and 11 deletions

View File

@@ -134,7 +134,7 @@ static inline void TomlTable_set(TomlTable* self, str key, TomlValue value){
HashMap_pushOrUpdate(self, key, &value);
}
static inline TomlValue* TomlTable_get(const TomlTable* self, const str key){
static inline NULLABLE(TomlValue*) TomlTable_tryGet(const TomlTable* self, const str key){
return HashMap_tryGetPtr(self, key);
}