Skip to content

Commit

Permalink
add libuv version to version table
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Jul 23, 2015
1 parent 517c2a4 commit d3d6871
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.bat eol=crlf
2 changes: 2 additions & 0 deletions src/luvi.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ LUALIB_API int luaopen_luvi(lua_State *L) {
lua_pushboolean(L, 1);
lua_setfield(L, -2, "winsvc");
#endif
lua_pushstring(L, uv_version_string());
lua_setfield(L, -2, "libuv");
lua_setfield(L, -2, "options");
return 1;
}

0 comments on commit d3d6871

Please sign in to comment.