diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-09-18 11:03:23 +0200 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2018-09-24 10:05:00 +0200 |
commit | 195a03d84c59ff756bfb893b22f8f4ff2635ceb6 (patch) | |
tree | a456cc7eb52a5a2422aa3fab085a766e4f49602b /include/afb/afb-api-x3-itf.h | |
parent | efd6d20aee652b5868090e11504a7ba163a09ee3 (diff) |
afb-export: Emit a warning on bad 'afb_require_api' callguppy_6.90.0guppy/6.90.06.90.0
The call to 'afb_require_api' in a preinit was forbiden
before binding v3 refactoring. Since v3 it is made possible
by deferring the requirement to the initialisation step.
But this may lead to bad behaviour if someone use the
call to test whether an api exists or not. This commit
introduce a message that could warn a developper raising
that issue.
Change-Id: Icc14c3887d70f73d87da0e664bb0e5e961867b4a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-api-x3-itf.h')
0 files changed, 0 insertions, 0 deletions