Files
BeatAroundTheBuscherandGitHub ed00830202 Fixes Upper/Lower Casing for include paths (#487)
* Fixing upper/lower case for includes

types.h, zconf.h and zlib.h were renamed so that global includes like Types.h
are not used.
2025-08-16 22:01:12 -03:00

33 lines
603 B
C

/*
** $Id: lstring.h,v 1.43 2005/04/25 19:24:10 roberto Exp $
** String table (keep all strings handled by Lua)
** See Copyright Notice in lua.h
*/
#ifndef lwstring_h
#define lwstring_h
#include <wchar.h>
extern "C" {
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
}
#include "types.h"
typedef struct {
int len;
CHAR16 data[1];
} TWString;
#define sizewstring(s) (sizeof(int) + (s) * sizeof(CHAR16) + sizeof(CHAR16))
#define luaWS_newstr(L, s) (luaWS_newlstr(L, s, wcslen(s)))
void luaWS_newlstr (lua_State *L, const CHAR16 *str, size_t l);
#endif