fixed some errors
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user