From 48e3a4c23378e7dfaf097f1b16a70a8e3a604f80 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Mon, 10 Mar 2025 05:29:56 +0300 Subject: [PATCH] /share/twn_api.json: add new logging funcs --- share/twn_api.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/share/twn_api.json b/share/twn_api.json index 87a7c4a..2d98125 100644 --- a/share/twn_api.json +++ b/share/twn_api.json @@ -349,6 +349,26 @@ "restriction": "parameters" }, + "log_string": { + "module": "util", + "symbol": "log_string", + "header": "twn_util.h", + "params": [ + { "name": "value", "type": "char *" }, + { "name": "identity", "type": "char *", "default": {} } + ] + }, + + "log_float": { + "module": "util", + "symbol": "log_float", + "header": "twn_util.h", + "params": [ + { "name": "value", "type": "float" }, + { "name": "identity", "type": "char *", "default": {} } + ] + }, + "log_vec2": { "module": "util", "symbol": "log_vec2",