This file contains hidden or 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
#ifndef IJPATHJOIN_INCLUDED_H | |
#define IJPATHJOIN_INCLUDED_H | |
#include <stdarg.h> /* va_list */ | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
#if defined(IJPATHJOIN_STATIC) |
This file contains hidden or 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
#define SOKOL_D3D11 | |
#define SOKOL_IMPL | |
#include "sokol_app.h" | |
#include "sokol_gfx.h" | |
#include "sokol_time.h" | |
#ifdef _MSC_VER | |
#pragma warning(push) | |
#pragma warning(disable: 4201) /* warning C4201: nonstandard extension used : nameless struct/union */ |
This file contains hidden or 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
/* | |
* optional instance created by placement-new with stack-memory | |
* | |
* ex. | |
* struct ThreadContextScope { | |
* ThreadContextScope() { // setup thread-context } | |
* ~ThreadContextScope() { // teardown thread-context } | |
* }; | |
* | |
* void some_function(void) { |
This file contains hidden or 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
/* clang-format off */ | |
/* | |
ijss : IncredibleJunior SparseSet | |
sparse set [1] for bookkeeping of dense<->sparse index mapping or | |
a building block for a simple LIFO index/handle allocator | |
[1] https://research.swtch.com/sparse | |
*/ |
This file contains hidden or 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
/* clang-format off */ | |
/* | |
ijsl : IncredibleJunior Simple Log | |
quick and dirty printf-logging with (compile time) 'multiple outputs' implemented | |
as a stb-style header-file library[1] which means that in *ONE* source file declare | |
the implementation (see example) and the other source files should just include | |
this file. | |
example setup for Windows (declare OutputDebugStringA ourselves to avoid including windows.h) |
This file contains hidden or 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
/* ijlat.h - v0.1a - (Simple) Lua Allocation Tracker -- public domain -- @incrediblejr, May 2016 | |
ABOUT | |
A simple Lua allocation tracker. | |
USAGE | |
The memory tracker is implemented as a [stb-style header-file library][1] which means that | |
in *ONE* source file, put: |