From 475dde282c46a70ecb952079fa3a553a1c428796 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 27 Mar 2024 11:08:37 +0100 Subject: [PATCH] test(tests): Update --- tests/functions/expected.md | 5 ++--- tests/trinitrix_api/expected.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/functions/expected.md b/tests/functions/expected.md index 17ac8bd..96c0e2f 100644 --- a/tests/functions/expected.md +++ b/tests/functions/expected.md @@ -52,13 +52,12 @@ File path: `dist/interface.h` /** * Call out an outstanding person */ -extern int -call_me_back_outstanding (const char *(*name) (const char *name)callback); +extern int call_me_back_outstanding (const char *(*callback) (const char *)); /** * Call out a person */ -extern int one_call_me_back (void (*name) (uint32_t age) callback); +extern int one_call_me_back (void (*callback) (uint32_t)); struct one { diff --git a/tests/trinitrix_api/expected.md b/tests/trinitrix_api/expected.md index c5adb7d..cc6af7d 100644 --- a/tests/trinitrix_api/expected.md +++ b/tests/trinitrix_api/expected.md @@ -306,7 +306,7 @@ extern int trinitrix_api_ui_cycle_planes_rev (); * Add a new keymapping */ extern int trinitrix_api_keymaps_add (const char *mode, const char *key, - void (*name) () callback); + void (*callback) ()); /** * Remove a keymapping