Skip to content

Instantly share code, notes, and snippets.

View sztomi's full-sized avatar

Tamás Szelei sztomi

View GitHub Profile
@sztomi
sztomi / imgui_1
Created March 15, 2014 21:23 — forked from Koshmaar/imgui_1
// class Enemies, function Update():
if (CONFIG::debug)
{
if (FlxG.keys.SHIFT && FlxG.keys.justPressed("D"))
{
// kill all enemies
for each ( var enemy : Enemy in members)
{
if (enemy.alive && enemy.exists)
#include <boost/python.hpp>
#include "textcomponent.h"
using namespace boost::python;
BOOST_PYTHON_MODULE(CodegenExample)
{
class_<TextComponent>("TextComponent")
.def("text", &TextComponent::text)
.def("setText", &TextComponent::setText)
@sztomi
sztomi / cindex.py
Created February 16, 2014 20:06
This is a patched cindex.py that exposes access specifiers on Cursors.The patch was submitted to the clang project. If it gets approved, this file will be obselete (and likely removed).
# This is a patched cindex.py that exposes access specifiers on Cursors.
# The patch was submitted to the clang project. If it gets approved,
# this file will be obselete (and likely removed).
#===- cindex.py - Python Indexing Library Bindings -----------*- python -*--===#
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.