lua_lib_in_c_playground/uname.h

17 lines
295 B
C
Raw Normal View History

2024-08-17 23:26:07 +09:00
#ifndef L_UNAME_H
#define L_UNAME_H
#include <sys/utsname.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
long long plus_one(int x);
static int l_numid(lua_State *L);
static int l_plus_one(lua_State *L);
static int l_uname(lua_State *L);
int luaopen_uname(lua_State *L);
#endif