X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fmigration.rst;h=5f7246f5136881daf984fc0fe107e399b14e73c4;hb=b0d31468da7f644684be897cef5b0602ca10af0f;hp=5ac52b3e38082293dbfe0581fef43cbf6c42d83a;hpb=be0b9e047a007685aa10a268f9bf856e9a52ef58;p=apps%2Fagl-service-can-low-level.git diff --git a/docs/migration.rst b/docs/migration.rst index 5ac52b3e..5f7246f5 100644 --- a/docs/migration.rst +++ b/docs/migration.rst @@ -11,7 +11,7 @@ are included, in order to make it easier to find this document. .. contents :: -Nanopb-0.3.0 (2014-09-xx) +Nanopb-0.3.0 (2014-08-26) ========================= Separate field iterator logic to pb_common.c @@ -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*.