OpenTTD Source  14.0-beta1
SQConvert::HelperT< Tretval(Tcls::*)(Targs...)> Struct Template Reference

The real C++ caller for methods. More...

#include <squirrel_helper.hpp>

Static Public Member Functions

static int SQCall (Tcls *instance, Tretval(Tcls::*func)(Targs...), HSQUIRRELVM vm)
 
static Tcls * SQConstruct (Tcls *instance, Tretval(Tcls::*func)(Targs...), HSQUIRRELVM vm)
 

Static Private Member Functions

template<size_t... i>
static int SQCall (Tcls *instance, Tretval(Tcls::*func)(Targs...), [[maybe_unused]] HSQUIRRELVM vm, std::index_sequence< i... >)
 
template<size_t... i>
static Tcls * SQConstruct (Tcls *, Tretval(Tcls::*)(Targs...), [[maybe_unused]] HSQUIRRELVM vm, std::index_sequence< i... >)
 

Detailed Description

template<class Tcls, typename Tretval, typename... Targs>
struct SQConvert::HelperT< Tretval(Tcls::*)(Targs...)>

The real C++ caller for methods.

Definition at line 155 of file squirrel_helper.hpp.


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