OpenTTD Source  20240919-master-gdf0233f4c2
SQConvert::HelperT< Tfunc > Struct Template Reference

Helper class to recognize the function type (retval type, args) and use the proper specialization for SQ callback. More...

#include <squirrel_helper.hpp>

Detailed Description

template<typename Tfunc>
struct SQConvert::HelperT< Tfunc >

Helper class to recognize the function type (retval type, args) and use the proper specialization for SQ callback.

The partial specializations for the second arg (Tis_void_retval) are not possible on the function. Therefore the class is used instead.

Definition at line 121 of file squirrel_helper.hpp.


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