mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 21:10:06 -04:00
we need to declare the enum first before it can be used; c++ compilation errors
svn:r843
This commit is contained in:
parent
05965921ab
commit
f9707a01e5
@ -100,11 +100,6 @@ int event_base_dispatch(struct event_base *);
|
|||||||
*/
|
*/
|
||||||
const char *event_base_get_method(struct event_base *);
|
const char *event_base_get_method(struct event_base *);
|
||||||
|
|
||||||
/**
|
|
||||||
Return a bitmask of the features implemented by an event base.
|
|
||||||
*/
|
|
||||||
enum event_method_feature event_base_get_features(struct event_base *base);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets all event notification mechanisms supported by libevent.
|
Gets all event notification mechanisms supported by libevent.
|
||||||
|
|
||||||
@ -162,6 +157,11 @@ enum event_method_feature {
|
|||||||
EV_FEATURE_FDS = 0x04,
|
EV_FEATURE_FDS = 0x04,
|
||||||
} event_method_feature;
|
} event_method_feature;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Return a bitmask of the features implemented by an event base.
|
||||||
|
*/
|
||||||
|
enum event_method_feature event_base_get_features(struct event_base *base);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Enters a required event method feature that the application demands.
|
Enters a required event method feature that the application demands.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user