OpenTTD Source
20241108-master-g80f628063a
|
declarations and parts of the implementation of the class for convert code More...
#include "squirrel.hpp"
#include "../core/alloc_func.hpp"
#include "../economy_type.h"
#include "../string_func.h"
#include "../tile_type.h"
#include "squirrel_helper_type.hpp"
Go to the source code of this file.
Namespaces | |
SQConvert | |
The Squirrel convert routines. | |
Functions | |
template<class CL , ScriptType ST> | |
const char * | GetClassName () |
template<typename Tcls , typename Tmethod , ScriptType Ttype> | |
SQInteger | SQConvert::DefSQNonStaticCallback (HSQUIRRELVM vm) |
A general template for all non-static method callbacks from Squirrel. More... | |
template<typename Tcls , typename Tmethod , ScriptType Ttype> | |
SQInteger | SQConvert::DefSQAdvancedNonStaticCallback (HSQUIRRELVM vm) |
A general template for all non-static advanced method callbacks from Squirrel. More... | |
template<typename Tcls , typename Tmethod > | |
SQInteger | SQConvert::DefSQStaticCallback (HSQUIRRELVM vm) |
A general template for all function/static method callbacks from Squirrel. More... | |
template<typename Tcls , typename Tmethod > | |
SQInteger | SQConvert::DefSQAdvancedStaticCallback (HSQUIRRELVM vm) |
A general template for all static advanced method callbacks from Squirrel. More... | |
template<typename Tcls > | |
static SQInteger | SQConvert::DefSQDestructorCallback (SQUserPointer p, SQInteger) |
A general template for the destructor of SQ instances. More... | |
template<typename Tcls , typename Tmethod , int Tnparam> | |
SQInteger | SQConvert::DefSQConstructorCallback (HSQUIRRELVM vm) |
A general template to handle creating of instance with any amount of params. More... | |
template<typename Tcls > | |
SQInteger | SQConvert::DefSQAdvancedConstructorCallback (HSQUIRRELVM vm) |
A general template to handle creating of an instance with a complex constructor. | |
declarations and parts of the implementation of the class for convert code
Definition in file squirrel_helper.hpp.