mirror of
https://github.com/siemens-mobile-hacks/sdk.git
synced 2026-11-25 22:27:39 +00:00
16 lines
337 B
C
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
|