sdk/include/lua/lwslib.h
2023-10-15 22:30:59 +03:00

16 lines
337 B
C

#ifndef __LWSLIB_H__
#define __LWSLIB_H__
#include "lua.h"
#include "lauxlib.h"
#define toUstringp(L, idx) ((WSHDR *)luaL_checkudata(L, idx, USTRINGHANDLE))
void DecodeWs2Str(WSHDR* wsc, luaL_Buffer *b, int slen);
WSHDR* pushustring (lua_State *L, WSHDR *im);
WSHDR* checkustring (lua_State *L, int index);
#endif