From 8a1337c30ce54e0879145f82535a8b21a0301fc0 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Thu, 26 Sep 2024 22:57:56 +0200 Subject: fn-wrapper: add backlink in footnote --- content/2024-04-24-fn-wrapper-macro-magic/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'content') diff --git a/content/2024-04-24-fn-wrapper-macro-magic/index.md b/content/2024-04-24-fn-wrapper-macro-magic/index.md index 708336b..930eb88 100644 --- a/content/2024-04-24-fn-wrapper-macro-magic/index.md +++ b/content/2024-04-24-fn-wrapper-macro-magic/index.md @@ -52,9 +52,9 @@ have to be repeated for each wrapper. {{ include(path="content/2024-04-24-fn-wrapper-macro-magic/wrap-v1.cc") }} ``` -> In the code examples, I use the `MOCK_WRAPPER_IMPL`1 -> macro, to mock away the common pre and post work and to invoke the real -> function. +> In the code examples, I use the `MOCK_WRAPPER_IMPL` +> 1 macro, to mock away the common pre and post +> work and to invoke the real function. ## Version 2 @@ -189,10 +189,10 @@ friend: ## Footnotes -
- -**1)** In the examples above, **MOCK_WRAPPER_IMPL** is a macro. However it does +**1)** +In the examples above, **MOCK_WRAPPER_IMPL** is a macro. However it does not need to be one, as it can be seen in the [fn_hook.cc][fn-hook] example. + [va-narg]: https://groups.google.com/g/comp.std.c/c/d-6Mj5Lko_s [va-args]: https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html -- cgit v1.2.3