OpenTTD Source: SQConvert::Return< T > Struct Template Reference

OpenTTD Source 14.1

SQConvert::Return< T > Struct Template Reference

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

`#include <squirrel_helper.hpp>`

## 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:

- src/script/squirrel_helper.hpp