From a15b5a6b3248691fb383d7beea27fd21771c7c09 Mon Sep 17 00:00:00 2001 From: Timerix Date: Sat, 13 Dec 2025 03:27:28 +0500 Subject: [PATCH] fixed some errors --- README.md | 2 +- tests/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e39976f..0489787 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tests/main.c b/tests/main.c index 4c56ae4..182b25d 100644 --- a/tests/main.c +++ b/tests/main.c @@ -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)