|
Aegis2D
Modular C++26 2D game engine for networked games
|
What an Aegis2D library tells about itself, from its C entry point. More...
#include <aegis2d/core/shared_library.hpp>
Public Attributes | |
| std::uint32_t | api_version = 0 |
| library_api_version the library was built with. | |
| const char * | name = nullptr |
| Name of the library, a static string; may be null. | |
What an Aegis2D library tells about itself, from its C entry point.
Plain C data, so the engine reads it whatever compiler built the library. The library exports a function named library_entry, with C linkage, that returns it:
MY_PLUGIN_EXPORT exports the function: __declspec(dllexport) on Windows, e.g. from CMake's generate_export_header().
| std::uint32_t aegis2d::core::LibraryInfo::api_version = 0 |
library_api_version the library was built with.
| const char* aegis2d::core::LibraryInfo::name = nullptr |
Name of the library, a static string; may be null.