Add missing * in migration docs

This commit is contained in:
Petteri Aimonen
2014-08-26 18:22:13 +03:00
parent 71b81ad573
commit 9e866b4853

View File

@@ -151,12 +151,12 @@ Callback function signature
as *void\**. This allowed passing of any data, but made it unnecessarily as *void\**. This allowed passing of any data, but made it unnecessarily
complex to return a pointer from callback. complex to return a pointer from callback.
**Changes:** The callback function parameter was changed to *void\**. **Changes:** The callback function parameter was changed to *void\*\**.
**Required actions:** You can continue using the old callback style by **Required actions:** You can continue using the old callback style by
defining *PB_OLD_CALLBACK_STYLE*. Recommended action is to: defining *PB_OLD_CALLBACK_STYLE*. Recommended action is to:
* Change the callback signatures to contain *void\** for decoders and * Change the callback signatures to contain *void\*\** for decoders and
*void \* const \** for encoders. *void \* const \** for encoders.
* Change the callback function body to use *\*arg* instead of *arg*. * Change the callback function body to use *\*arg* instead of *arg*.