diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-08-26 18:22:13 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-08-26 18:22:13 +0300 |
commit | 9e866b485319e2ede206b4eafa0b6235be0c4a38 (patch) | |
tree | 7755c77438c97613e9281cddc7288f4035d60560 /docs | |
parent | 71b81ad5735e8db6f85795489a4bb2d8d7af8b7d (diff) |
Add missing * in migration docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/migration.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/migration.rst b/docs/migration.rst index 67f97b34..5f7246f5 100644 --- a/docs/migration.rst +++ b/docs/migration.rst @@ -151,12 +151,12 @@ Callback function signature as *void\**. This allowed passing of any data, but made it unnecessarily 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 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. * Change the callback function body to use *\*arg* instead of *arg*. |