Files
nanopb/docs
Petteri Aimonen 214b0eae8a Change the callback function to use void**.
NOTE: This change breaks backwards-compatibility by default.
If you have old callback functions, you can define PB_OLD_CALLBACK_STYLE
to retain the old behaviour.

If you want to convert your old callbacks to new signature, you need
to do the following:

1) Change decode callback argument to   void **arg
      and encode callback argument to   void * const *arg.

2) Change any reference to arg into *arg.

The rationale for making the new behaviour the default is that it
simplifies the common case of "allocate some memory in decode callback".

Update issue 69
Status: FixedInGit
2013-04-02 19:55:21 +03:00
..
2012-01-05 18:35:12 +00:00
2013-03-02 16:27:31 +02:00
2011-08-23 18:50:09 +00:00
2012-01-05 18:35:12 +00:00
2011-08-16 17:28:59 +00:00