diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-10 14:02:30 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-10 16:44:44 +0100 |
commit | 825949b810c6e7b7b977283355e658e2edbb8932 (patch) | |
tree | d02f94b4abe36fd39a5a91cc90525d95ea6861cf | |
parent | 09d1b2324cf02c20daa005e6f5d55dc107303af7 (diff) | |
download | samba-825949b810c6e7b7b977283355e658e2edbb8932.tar.gz samba-825949b810c6e7b7b977283355e658e2edbb8932.tar.bz2 samba-825949b810c6e7b7b977283355e658e2edbb8932.zip |
tevent: add tevent_req_callback_data_void() macro
Callers can use it instead of tevent_req_callback_data()
if they use a non talloc private pointer.
metze
-rw-r--r-- | lib/tevent/tevent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h index 8ae9eaf545..2dadfc1abe 100644 --- a/lib/tevent/tevent.h +++ b/lib/tevent/tevent.h @@ -197,6 +197,8 @@ void *_tevent_req_data(struct tevent_req *req); #define tevent_req_callback_data(_req, _type) \ talloc_get_type_abort(_tevent_req_callback_data(_req), _type) +#define tevent_req_callback_data_void(_req) \ + _tevent_req_callback_data(_req) #define tevent_req_data(_req, _type) \ talloc_get_type_abort(_tevent_req_data(_req), _type) |