I hereby claim:
- I am profan on github.
- I am profan (https://keybase.io/profan) on keybase.
- I have a public key whose fingerprint is 1798 B62C B04E F796 5A68 BED3 A350 4CCE 50E5 110D
To claim this, I am signing this object:
import std.typecons : tuple; | |
import std.stdio; | |
import std.meta; | |
import derelict.sdl2.sdl; | |
import gland.win; | |
import gland.gl; | |
import util; |
/** | |
* Intrusive single linked list, uses next pointer already present in the type | |
* to avoid extra dynamic memory allocation. | |
*/ | |
struct ILinkedList(T) { | |
T* head_; | |
void add(T* item) { |
struct ScopedBuffer(T) { | |
private IAllocator allocator_; | |
private { | |
T[] buffer_; | |
} |
#include <stdlib.h> | |
#include <stdio.h> | |
struct Node { | |
size_t attempted_allocations; | |
size_t successful_allocations; | |
size_t size; | |
struct Node* next; |
I hereby claim:
To claim this, I am signing this object:
#ifndef VOX_KEYEVENTMANAGER_HPP | |
#define VOX_KEYEVENTMANAGER_HPP | |
#include "easylogging++.h" | |
#include "Keyboard.hpp" | |
#include "KeyNew.hpp" | |
#include <SDL2/SDL.h> | |
#include <vector> | |
#include "Profiler.h" |
function findFunction(search_table, funcname) | |
for k, v in pairs(search_table) do | |
if type(v) == "table" then | |
for i, l in pairs(v) do | |
if type(l) == "function" then | |
if string.match(i, funcname) then | |
io.write(k .. ".".. i .. "\n"); | |
end | |
end | |
end |