blob: 3e204ec067617252185edf3a3fabf8be3ddf2d4c [file] [edit]
#include "engine/api_private.hpp"
extern char __api_start;
#pragma GCC diagnostic ignored "-Warray-bounds"
#ifndef BLIT_API_SPLIT_COMPAT
#error "BLIT_API_SPLIT_COMPAT not set!"
#endif
namespace blit {
// for compatibility reasons, these are the same thing
const APIConst &api = *(APIConst *)&__api_start;
APIData &api_data = *(APIData *)&__api_start;
}