X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fmigration.rst;h=5f7246f5136881daf984fc0fe107e399b14e73c4;hb=d0299d87ec109c83480f857d2a1ce66d52834926;hp=67f97b341d24f0fc5118fe7ed71981cdfba09d84;hpb=e60dee698a617882659c84624d6a63d7941c4624;p=apps%2Fagl-service-can-low-level.git 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*.