we need to declare the enum first before it can be used; c++ compilation errors

svn:r843
This commit is contained in:
Niels Provos 2008-05-31 18:57:21 +00:00
parent 05965921ab
commit f9707a01e5

View File

@ -100,11 +100,6 @@ int event_base_dispatch(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.
@ -162,6 +157,11 @@ enum event_method_feature {
EV_FEATURE_FDS = 0x04,
} 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.