Lodestone.Common
Loading...
Searching...
No Matches
Defines.h File Reference
#include <gtl/phmap.hpp>
Include dependency graph for Defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NO_DISCARD   __declspec(noinline)
#define LODESTONE_API   __declspec(dllimport)
#define CAST_UNIQUE_PTR(to, var)

Typedefs

typedef long signed int signed_size_t
template<typename... T>
using map_t = gtl::flat_hash_map<T...>

Macro Definition Documentation

◆ CAST_UNIQUE_PTR

#define CAST_UNIQUE_PTR ( to,
var )
Value:
std::unique_ptr<to>(static_cast<to *>(var.release()));
36#define CAST_UNIQUE_PTR(to, var) \
37 std::unique_ptr<to>(static_cast<to *>(var.release()));

◆ LODESTONE_API

#define LODESTONE_API   __declspec(dllimport)

◆ NO_DISCARD

#define NO_DISCARD   __declspec(noinline)

Typedef Documentation

◆ map_t

template<typename... T>
using map_t = gtl::flat_hash_map<T...>

◆ signed_size_t

typedef long signed int signed_size_t