mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Merge pull request #331 from dacav/fix_doc_mistake
Fix documentation mistake
This commit is contained in:
commit
95445118c2
@ -244,7 +244,7 @@ function. For example, to specify a callback function called `my_type_cb` that
|
|||||||
has no callback data:
|
has no callback data:
|
||||||
|
|
||||||
```c
|
```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
|
The `my_type_cb` function accepts the callback data pointer (`NULL` in this
|
||||||
|
Loading…
Reference in New Issue
Block a user