fixed some errors

This commit is contained in:
2025-12-13 03:27:28 +05:00
parent a0e280d77b
commit a15b5a6b32
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# tlibtoml
A fork of [libtoml](https://github.com/brglng/libtoml) rewritten to use [tlibc](https://timerix.ddns.net/git/Timerix/tlibtoml) instead of its own (worse) implementation of collections and strings. For example, Table from libtoml is just an array of key-value pairs, where search happens by calling `strcmp()` on each element. Such inefficient code hurts my mind, so i have no other choise than to rewrite this library.
A fork of [libtoml](https://github.com/brglng/libtoml) rewritten to use [tlibc](https://timerix.ddns.net/git/Timerix/tlibc) instead of its own (worse) implementation of collections and strings. For example, Table from libtoml is just an array of key-value pairs, where search happens by calling `strcmp()` on each element. Such inefficient code hurts my mind, so i have no other choise than to rewrite this library.
## Build

View File

@@ -58,7 +58,7 @@ void print_value(const TomlValue* value)
void print_keyval(HashMapKeyValue* keyval)
{
printf("\"%s\": ", keyval->key.data);
print_value(keyval->value);
print_value(keyval->value_ptr);
}
void print_table(const TomlTable* table)