On Tue, Jan 23, 2018 at 8:12 AM, Ole Troan <otr...@employees.org> wrote:
> Dear Dave, > > > I would be tempted to have the compiler emit > > "foreach_<api-filename>_api_error" > macros [or similar]: > > > > #define foreach_foo_api_error \ > > _(SUCCESS, "Success") \ > > _(ERROR, "This didn't go well") > > > > To minimize pain in upgrading existing C-code... > > Ah, yes of course. > Done. > https://gerrit.fd.io/r/#/c/10204/ > > Cheers, > Ole Glad to see you guys like the notion! With this, will plugins have to manage an error number base for each plugin now? Or will that be some form of magic behind the scene? Thanks, jdl
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev