Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed May 11, 2024
1 parent 453b1c0 commit 3da04ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion binding/lua_epoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ namespace bee::lua_epoll {
SETENUM(EPOLLMSG, net::bpoll_event::msg);
SETENUM(EPOLLRDHUP, net::bpoll_event::rdhup);
SETENUM(EPOLLONESHOT, net::bpoll_event::oneshot);

#undef SETENUM
return 1;
}
}
Expand Down
1 change: 1 addition & 0 deletions binding/lua_filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ namespace bee::lua_filesystem {
DEF_ENUM(directory_options, follow_directory_symlink);
DEF_ENUM(directory_options, skip_permission_denied);
lua_setfield(L, -2, "directory_options");
#undef DEF_ENUM
return 1;
}
}
Expand Down
1 change: 1 addition & 0 deletions binding/lua_select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ namespace bee::lua_select {

SETENUM(SELECT_READ);
SETENUM(SELECT_WRITE);
#undef SETENUM
return 1;
}
}
Expand Down

0 comments on commit 3da04ab

Please sign in to comment.