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
// General nuklear info | |
// check https://github.com/Immediate-Mode-UI/Nuklear/blob/master/nuklear.h | |
// row 3950 and therabouts | |
// 1. Setup/init | |
snk_setup(&(snk_desc_t){ | |
.dpi_scale = sapp_dpi_scale(), | |
.logger.func = slog_func, | |
}); |
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
// made by @filipwanstrom | |
// public domain / as is | |
// The main.c file | |
#include <stdio.h> | |
#include <dlfcn.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
typedef void (*printfunc)(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
#!/bin/sh | |
# make a basic bundle / folder structure for macosx. | |
# public domain (by filip wanstrom) | |
if [ -z "$1" ]; then | |
echo "usage: `basename $0` <name-of-bundle>" | |
exit 1 | |
fi | |
bundleName="$1" |
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
// ------------------------------------------------------------------------------- | |
// CoreAudio continuous play test | |
// (c) 2014 by Arthur Langereis (@zenmumbler) | |
// created: 2014-12-07 | |
// | |
// As part of my efforts for stardazed and to create a Mac OS X version of | |
// Handmade Hero. | |
// | |
// compile with: | |
// clang++ -std=c++11 -stdlib=libc++ -framework AudioToolbox catest.cpp -o catest |