From e4593a6246c0f9e20716254c1d21982fc77a99a3 Mon Sep 17 00:00:00 2001 From: dacav Date: Tue, 1 Oct 2024 22:11:54 +0200 Subject: [PATCH] Fix documentation mistake --- doc/body.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/body.md b/doc/body.md index d5eaed7..50bb426 100644 --- a/doc/body.md +++ b/doc/body.md @@ -244,7 +244,7 @@ function. For example, to specify a callback function called `my_type_cb` that has no callback data: ```c -mxmlOptionsSetTypeValue(options, my_type_cb, /*cbdata*/NULL); +mxmlOptionsSetTypeCallback(options, my_type_cb, /*cbdata*/NULL); ``` The `my_type_cb` function accepts the callback data pointer (`NULL` in this