|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Some methods of Pool are placed here in order to reduce compilation time and binary size. More...
#include "bitmath_func.hpp"#include "math_func.hpp"#include "pool_type.hpp"#include "../error_func.h"#include "../saveload/saveload_error.hpp"Go to the source code of this file.
Macros | |
| #define | DEFINE_POOL_METHOD(type) |
| Helper for defining the method's signature. | |
| #define | INSTANTIATE_POOL_METHODS(name) |
| Force instantiation of pool methods so we don't get linker errors. | |
Some methods of Pool are placed here in order to reduce compilation time and binary size.
Definition in file pool_func.hpp.
| #define DEFINE_POOL_METHOD | ( | type | ) |
Helper for defining the method's signature.
| type | The return type of the method. |
Definition at line 24 of file pool_func.hpp.
| #define INSTANTIATE_POOL_METHODS | ( | name | ) |
Force instantiation of pool methods so we don't get linker errors.
Only methods accessed from methods defined in pool.hpp need to be forcefully instantiated.
Definition at line 210 of file pool_func.hpp.