Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
PackedInstr Struct Reference

Represents a single instruction that pushes a new value or operates with existing ones. More...

#include <c_packer.h>

+ Collaboration diagram for PackedInstr:

Public Member Functions

 PackedInstr ()
 

Public Attributes

s16 type
 
u16 set_into
 
bool keep_ref
 
bool pop
 
union { 
 
   bool   bdata 
 
   lua_Number   ndata 
 
   struct { 
 
      u16   uidata1 
 
      u16   uidata2 
 
   }  
 
   struct { 
 
      s32   sidata1 
 
      s32   sidata2 
 
   }  
 
   void *   ptrdata 
 
};  
 
std::string sdata
 

Detailed Description

Represents a single instruction that pushes a new value or operates with existing ones.

Constructor & Destructor Documentation

◆ PackedInstr()

PackedInstr::PackedInstr ( )
inline

Member Data Documentation

◆ [union]

union { ... } PackedInstr

◆ bdata

bool PackedInstr::bdata

◆ keep_ref

bool PackedInstr::keep_ref

◆ ndata

lua_Number PackedInstr::ndata

◆ pop

bool PackedInstr::pop

◆ ptrdata

void* PackedInstr::ptrdata

◆ sdata

std::string PackedInstr::sdata

◆ set_into

u16 PackedInstr::set_into

◆ sidata1

s32 PackedInstr::sidata1

◆ sidata2

s32 PackedInstr::sidata2

◆ type

s16 PackedInstr::type

◆ uidata1

u16 PackedInstr::uidata1

◆ uidata2

u16 PackedInstr::uidata2

The documentation for this struct was generated from the following file: