proxygen
EventUtil.h File Reference
#include <functional>
#include <folly/portability/Event.h>

Go to the source code of this file.

Classes

class  folly::EventUtil
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Macros

#define FOLLY_LIBEVENT_COMPAT_PLUCK(name)   ev_##name
 
#define FOLLY_LIBEVENT_DEF_ACCESSORS(name)
 

Functions

auto folly::event_ref_flags (struct event *ev) -> decltype(std::ref(ev->ev_flags))
 
auto folly::event_ref_flags (struct event const *ev) -> decltype(std::cref(ev->ev_flags))
 

Macro Definition Documentation

#define FOLLY_LIBEVENT_COMPAT_PLUCK (   name)    ev_##name

Definition at line 26 of file EventUtil.h.

#define FOLLY_LIBEVENT_DEF_ACCESSORS (   name)
Value:
inline auto event_ref_##name(struct event* ev) \
->decltype(std::ref(ev->FOLLY_LIBEVENT_COMPAT_PLUCK(name))) { \
return std::ref(ev->FOLLY_LIBEVENT_COMPAT_PLUCK(name)); \
} \
inline auto event_ref_##name(struct event const* ev) \
->decltype(std::cref(ev->FOLLY_LIBEVENT_COMPAT_PLUCK(name))) { \
return std::cref(ev->FOLLY_LIBEVENT_COMPAT_PLUCK(name)); \
} \
const char * name
Definition: http_parser.c:437

Definition at line 30 of file EventUtil.h.