afb-binding-v3: Fix issues in includes
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 2 Jan 2019 19:01:44 +0000 (20:01 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Fri, 4 Jan 2019 15:52:24 +0000 (16:52 +0100)
commit1defe4ce2cedff5c34581b04a48e12c581af9dbb
tree678c510c89235a0549989e56839132c2d910902a
parentc5292c68cc542cb5486e0e7124c32cc538c0c8be
afb-binding-v3: Fix issues in includes

Fix 1: afb_api_v3_verbose doesn't exist

Fix 2: afb_api_vverbose isn't declared

Fix 3: Ensure implicit cast of "api" and "req"

  Using presupposed knowledge of internals of afb_api_t
  and afb_req_t is bad when dealing with implicit
  conversion in C++ and is generally not the way to
  go.

Change-Id: I2630faa5ea0ae315ca95e4fd6ed6ae1a0beb01a5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
include/afb/afb-binding-predefs.h
include/afb/afb-binding-v3.h