Merge pull request #331 from dacav/fix_doc_mistake

Fix documentation mistake
This commit is contained in:
Michael R Sweet 2024-10-01 17:19:06 -04:00 committed by GitHub
commit 95445118c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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