return r;
}
-#if AFB_BINDING_VERSION >= 3
-void __afb__verb__cb__for__global__(afb_req_t r)
+void __attribute__((weak)) __afb__verb__cb__for__global__(afb_req_t r)
{
void *vcbdata;
void (*callback)(req);
void (&callback)(req),
const char *info = nullptr,
uint16_t session = 0,
- const afb_auth *auth = nullptr
- ,
+ const afb_auth *auth = nullptr,
bool glob = false,
void *vcbdata = nullptr
)
session,
auth,
glob,
- reinterpret_cast<void*>(&callback)
+ (void*)(&callback)
);
}
-#endif
constexpr afb_verb_t verbend()
{