From 9e866b485319e2ede206b4eafa0b6235be0c4a38 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Tue, 26 Aug 2014 18:22:13 +0300 Subject: Add missing * in migration docs --- docs/migration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/migration.rst b/docs/migration.rst index 67f97b3..5f7246f 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*. -- cgit 1.2.3-korg