aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes/textures.lua
diff options
context:
space:
mode:
authorGnuPGを使うべきだ <dieeeazpnnqbpddh@cock.email>2021-04-06 12:11:01 +0000
committersfan5 <sfan5@live.de>2021-04-10 17:51:40 +0200
commit7038837aca6ac035d45c3502d459398e5d5f9dca (patch)
treec3cf6c7373564e22308b455c792d1673d61da794 /games/devtest/mods/testnodes/textures.lua
parent541dcc0e5afa384dfe9e4e5806da94802161306c (diff)
downloadminetest-7038837aca6ac035d45c3502d459398e5d5f9dca.tar.gz
minetest-7038837aca6ac035d45c3502d459398e5d5f9dca.tar.bz2
minetest-7038837aca6ac035d45c3502d459398e5d5f9dca.zip
Translated using Weblate (Japanese)
Currently translated at 99.7% (1353 of 1356 strings)
Diffstat (limited to 'games/devtest/mods/testnodes/textures.lua')
0 files changed, 0 insertions, 0 deletions
'>136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
/*
** $Id: lundump.c,v 2.7.1.4 2008/04/04 19:51:41 roberto Exp $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/

#include <string.h>

#define lundump_c
#define LUA_CORE

#include "lua.h"

#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lmem.h"
#include "lobject.h"
#include "lstring.h"
#include "lundump.h"
#include "lzio.h"

typedef struct {
 lua_State* L;
 ZIO* Z;
 Mbuffer* b;
 const char* name;
} LoadState;

#ifdef LUAC_TRUST_BINARIES
#define IF(c,s)
#define error(S,s)
#else
#define IF(c,s)		if (c) error(S,s)

static void error(LoadState* S, const char* why)
{
 luaO_pushfstring(S->L,"%s: %s in precompiled chunk",S->name,why);
 luaD_throw(S->L,LUA_ERRSYNTAX);
}
#endif

#define LoadMem(S,b,n,size)	LoadBlock(S,b,(n)*(size))
#define	LoadByte(S)		(lu_byte)LoadChar(S)
#define LoadVar(S,x)		LoadMem(S,&x,1,sizeof(x))