OpenTTD Source 15.0-RC2
SQConvert::HelperT< Tretval(*)(Targs...)> Struct Template Reference

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

#include <squirrel_helper.hpp>

Static Public Member Functions

static int SQCall (void *instance, Tretval(*func)(Targs...), HSQUIRRELVM vm)
 

Static Private Member Functions

template<size_t... i>
static int SQCall (void *, Tretval(*func)(Targs...), HSQUIRRELVM vm, std::index_sequence< i... >)
 

Detailed Description

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

The real C++ caller for functions.

Definition at line 156 of file squirrel_helper.hpp.

Member Function Documentation

◆ SQCall() [1/2]

template<typename Tretval , typename... Targs>
template<size_t... i>
static int SQConvert::HelperT< Tretval(*)(Targs...)>::SQCall ( void *  ,
Tretval(*)(Targs...)  func,
HSQUIRRELVM  vm,
std::index_sequence< i... >   
)
inlinestaticprivate

Definition at line 164 of file squirrel_helper.hpp.

◆ SQCall() [2/2]

template<typename Tretval , typename... Targs>
static int SQConvert::HelperT< Tretval(*)(Targs...)>::SQCall ( void *  instance,
Tretval(*)(Targs...)  func,
HSQUIRRELVM  vm 
)
inlinestatic

Definition at line 157 of file squirrel_helper.hpp.


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