diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-10-10 18:46:23 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-10-10 18:46:23 +0200 |
commit | fd57dbf84b32f574ad55305487748eb2db182474 (patch) | |
tree | d6c39f4ea6dfd75efb5f5f13268c60d19ae3880d /bindings/tutorial | |
parent | 40fa7ea26a59f10d8036d89399f42a4e9d26a58a (diff) |
genskel: Fix issues for C++ bindings v3
The C++ compiler is too much strict. It doesn't accept
valid C because fields are in the wrong order or missing.
- afb_verb_t generated structure invert vcbdata and session
- missing provide_class, require_class, require_api in the
afb_binding_v3 generated struct
The signature of the declared function was wrong.
- wrong verb's callback signature void fun(afb_req) instead of
void fun(afb_req_t)
This add the declaration of the (pre)initialization and onevent functions.
- missing init function signation generation, or probably preinit and
onevent (not tested those ones)
Bug-AGL: SPEC-1806
Change-Id: I1abf8a29f831ecc80458edcd3bd094b2108dc227
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/tutorial')
0 files changed, 0 insertions, 0 deletions