OpenTTD Source  20241121-master-g67a0fccfad
SQConvert::Return< T > Struct Template Reference

To return a value to squirrel, we use this helper class. More...

Detailed Description

template<typename T>
struct SQConvert::Return< T >

To return a value to squirrel, we use this helper class.

It converts to the right format. We use a class instead of a plain function to allow us to use partial template specializations.

Definition at line 30 of file squirrel_helper.hpp.


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