OpenTTD Source 20241224-master-gee860a5c8e
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 121 of file squirrel_helper.hpp.


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