Code::Blocks  SVN r11506
Macros | Functions | Variables
sqstate.cpp File Reference
#include "sqpcheader.h"
#include "sqopcodes.h"
#include "sqvm.h"
#include "sqfuncproto.h"
#include "sqclosure.h"
#include "sqstring.h"
#include "sqtable.h"
#include "sqarray.h"
#include "squserdata.h"
#include "sqclass.h"
Include dependency graph for sqstate.cpp:

Go to the source code of this file.

Macros

#define newsysstring(s)
 
#define newmetamethod(s)
 

Functions

SQObjectPtr _true_ (true)
 
SQObjectPtr _false_ (false)
 
SQObjectPtr _one_ ((SQInteger) 1)
 
SQObjectPtr _minusone_ ((SQInteger) -1)
 
bool CompileTypemask (SQIntVec &res, const SQChar *typemask)
 
SQTable * CreateDefaultDelegate (SQSharedState *ss, SQRegFunction *funcz)
 

Variables

SQObjectPtr _null_
 

Macro Definition Documentation

◆ newmetamethod

#define newmetamethod (   s)
Value:
{ \
_metamethods->push_back(SQString::Create(this,s)); \
_table(_metamethodsmap)->NewSlot(_metamethods->back(),(SQInteger)(_metamethods->size()-1)); \
}

Definition at line 33 of file sqstate.cpp.

Referenced by CreateDefaultDelegate().

◆ newsysstring

#define newsysstring (   s)
Value:
{ \
_systemstrings->push_back(SQString::Create(this,s)); \
}

Definition at line 29 of file sqstate.cpp.

Referenced by CreateDefaultDelegate().

Function Documentation

◆ _false_()

SQObjectPtr _false_ ( false  )

◆ _minusone_()

SQObjectPtr _minusone_ ( (SQInteger) -  1)

◆ _one_()

SQObjectPtr _one_ ( (SQInteger)  1)

◆ _true_()

SQObjectPtr _true_ ( true  )

◆ CompileTypemask()

bool CompileTypemask ( SQIntVec &  res,
const SQChar typemask 
)

Definition at line 38 of file sqstate.cpp.

Referenced by CreateDefaultDelegate(), and sq_setparamscheck().

◆ CreateDefaultDelegate()

SQTable* CreateDefaultDelegate ( SQSharedState *  ss,
SQRegFunction *  funcz 
)

Variable Documentation

◆ _null_

SQObjectPtr _null_