Skip to content

Commit

Permalink
remove udata::name
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed May 9, 2024
1 parent 15809f0 commit a475ff4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion binding/lua_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ DEFINE_LUAOPEN(channel)
namespace bee::lua {
template <>
struct udata<lua_channel::channel::box> {
static inline auto name = "bee::channel";
static inline auto metatable = bee::lua_channel::metatable;
};
}
1 change: 0 additions & 1 deletion binding/lua_epoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ namespace bee::lua {
template <>
struct udata<lua_epoll::lua_epoll> {
static inline int nupvalue = 2;
static inline auto name = "bee::lua_epoll";
static inline auto metatable = bee::lua_epoll::metatable;
};
}
5 changes: 0 additions & 5 deletions binding/lua_filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1001,27 +1001,22 @@ DEFINE_LUAOPEN(filesystem)
namespace bee::lua {
template <>
struct udata<fs::path> {
static inline auto name = "bee::path";
static inline auto metatable = bee::lua_filesystem::path::metatable;
};
template <>
struct udata<fs::file_status> {
static inline auto name = "bee::file_status";
static inline auto metatable = bee::lua_filesystem::file_status::metatable;
};
template <>
struct udata<fs::directory_entry> {
static inline auto name = "bee::directory_entry";
static inline auto metatable = bee::lua_filesystem::directory_entry::metatable;
};
template <>
struct udata<fs::recursive_directory_iterator> {
static inline auto name = "bee::pairs_r";
static inline auto metatable = bee::lua_filesystem::pairs_directory<fs::recursive_directory_iterator>::metatable;
};
template <>
struct udata<fs::directory_iterator> {
static inline auto name = "bee::pairs";
static inline auto metatable = bee::lua_filesystem::pairs_directory<fs::directory_iterator>::metatable;
};
}
1 change: 0 additions & 1 deletion binding/lua_filewatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ namespace bee::lua {
template <>
struct udata<filewatch::watch> {
static inline int nupvalue = 1;
static inline auto name = "bee::filewatch";
static inline auto metatable = bee::lua_filewatch::metatable;
};
}
1 change: 0 additions & 1 deletion binding/lua_select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ namespace bee::lua {
template <>
struct udata<lua_select::select_ctx> {
static inline int nupvalue = 4;
static inline auto name = "bee::select";
static inline auto metatable = bee::lua_select::metatable;
};
}
3 changes: 0 additions & 3 deletions binding/lua_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,19 +516,16 @@ namespace bee::lua {
template <>
struct udata<net::fd_t> {
static inline int nupvalue = 1;
static inline auto name = "bee::net::fd";
static inline auto metatable = bee::lua_socket::fd::metatable;
};
template <>
struct udata<lua_socket::fd_no_ownership> {
static inline int nupvalue = 1;
static inline auto name = "bee::net::fd (no ownership)";
static inline auto metatable = bee::lua_socket::fd::metatable_no_ownership;
};
template <>
struct udata<net::endpoint> {
static inline int nupvalue = 0;
static inline auto name = "bee::net::endpoint";
static inline auto metatable = bee::lua_socket::endpoint::metatable;
};
}
1 change: 0 additions & 1 deletion binding/lua_subprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ namespace bee::lua {
template <>
struct udata<subprocess::process> {
static inline int nupvalue = 1;
static inline auto name = "bee::subprocess";
static inline auto metatable = bee::lua_subprocess::process::metatable;
};
}

0 comments on commit a475ff4

Please sign in to comment.