OpenTTD Source 20250206-master-g6089ed8059
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...

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 152 of file squirrel_helper.hpp.


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