Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Sep 11, 2024
1 parent a7f6904 commit 89635db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/aws/io/event_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ typedef void(aws_event_loop_on_event_fn)(
#endif /* AWS_USE_IO_COMPLETION_PORTS */

enum aws_event_loop_style {
AWS_EVENT_LOOP_STYLE_UNDEFINED = 0,
AWS_EVENT_LOOP_STYLE_POLL_BASED = 1,
AWS_EVENT_LOOP_STYLE_COMPLETION_PORT_BASED = 2,
};
Expand Down
4 changes: 2 additions & 2 deletions include/aws/io/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct aws_io_handle;
#if AWS_USE_DISPATCH_QUEUE
typedef void aws_io_set_queue_on_handle_fn(struct aws_io_handle *handle, void *queue);
typedef void aws_io_clear_queue_on_handle_fn(struct aws_io_handle *handle);
#endif
#endif /* AWS_USE_DISPATCH_QUEUE */

struct aws_io_handle {
union {
Expand All @@ -31,7 +31,7 @@ struct aws_io_handle {
#if AWS_USE_DISPATCH_QUEUE
aws_io_set_queue_on_handle_fn *set_queue;
aws_io_clear_queue_on_handle_fn *clear_queue;
#endif
#endif /* AWS_USE_DISPATCH_QUEUE */
};

enum aws_io_message_type {
Expand Down

0 comments on commit 89635db

Please sign in to comment.