Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
26b09b0
)
Fix bug in C++ wrapper
47/24147/2
author
Jose Bollo
<jose.bollo@iot.bzh>
Mon, 2 Mar 2020 15:59:32 +0000
(16:59 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Tue, 3 Mar 2020 09:38:51 +0000
(10:38 +0100)
Address of the function is much better than adress of the
pointer in the stack.
BUG-AGL: SPEC-3220
Change-Id: I860b66ac7b8581af5229201556333edcde1f089f
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
include/afb/c++/binding-wrap.hpp
patch
|
blob
|
history
diff --git
a/include/afb/c++/binding-wrap.hpp
b/include/afb/c++/binding-wrap.hpp
index
a998469
..
9844a07
100644
(file)
--- a/
include/afb/c++/binding-wrap.hpp
+++ b/
include/afb/c++/binding-wrap.hpp
@@
-782,7
+782,7
@@
constexpr afb_verb_t verb(
session,
auth,
glob,
session,
auth,
glob,
-
(void
*)(&callback)
+
*(void*
*)(&callback)
);
}
);
}