This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mimalloc-new-delete.h" | |
#include "mimalloc.h" | |
#define CATCH_CONFIG_RUNNER | |
#define CATCH_CONFIG_ENABLE_BENCHMARKING | |
#include "catch.hpp" | |
#include <cstdint> | |
#include <vector> | |
constexpr int components_count{10000}; | |
using Components_t = int32_t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL2/SDL.h> | |
#include <SDL2/SDL_syswm.h> | |
#include <Windows.h> | |
typedef void (*ModalLoopCallback)(void*); | |
typedef void (*ModalLoopResizeCallback)(SDL_Window*, int, int, void*); | |
ModalLoopCallback g_modal_loop_callback = NULL; | |
void* g_modal_loop_userdata = NULL; | |
ModalLoopResizeCallback g_modal_loop_resize_callback = NULL; |