The Battle for Wesnoth  1.15.1+dev
Macros | Variables
lopcodes.cpp File Reference
#include "lprefix.h"
#include <stddef.h>
#include "lopcodes.h"
Include dependency graph for lopcodes.cpp:

Go to the source code of this file.

Macros

#define lopcodes_c
 
#define LUA_CORE
 
#define opmode(t, a, b, c, m)   (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m))
 

Variables

LUAI_DDEF const char *const luaP_opnames [NUM_OPCODES+1]
 
LUAI_DDEF const lu_byte luaP_opmodes [NUM_OPCODES]
 

Macro Definition Documentation

◆ lopcodes_c

#define lopcodes_c

Definition at line 7 of file lopcodes.cpp.

◆ LUA_CORE

#define LUA_CORE

Definition at line 8 of file lopcodes.cpp.

◆ opmode

#define opmode (   t,
  a,
  b,
  c,
 
)    (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m))

Definition at line 72 of file lopcodes.cpp.

Variable Documentation

◆ luaP_opmodes

LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES]

Definition at line 74 of file lopcodes.cpp.

◆ luaP_opnames

LUAI_DDEF const char* const luaP_opnames[NUM_OPCODES+1]

Definition at line 20 of file lopcodes.cpp.