OpenTTD Source  20241111-master-gce64d5f5d9
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: