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
Show hidden characters
{ | |
"shell_cmd": "build.bat", | |
"file_regex": "^ *([A-z]:.*)[(]([0-9]+)[)]", | |
"working_dir": "${project_path:${folder}}" | |
} |
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 AUGMENTED_C_GUARD | |
#define AUGMENTED_C_GUARD | |
#include <stddef.h> | |
typedef ptrdiff_t isize; | |
#define offset_of(Type, element) ((isize)&(((Type *)0)->element)) | |
#define JOIN2_IND(a, b) a##b | |
#define JOIN2(a, b) JOIN2_IND(a, b) |
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
//////////////////////////////////////////////////////////////// | |
// | |
// Defer statement | |
// - Akin to D's SCOPE_EXIT or similar to Go's defer but scope-based | |
// | |
//////////////////////////////////////////////////////////////// | |
#if defined(__cplusplus) | |
extern "C++" { | |
// NOTE(bill): Stupid fucking templates | |
template <typename T> struct gbRemove_Reference { typedef T Type; }; |
NewerOlder