Skip to content

Instantly share code, notes, and snippets.

View sztomi's full-sized avatar

Tamás Szelei sztomi

View GitHub Profile
#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.
@sztomi
sztomi / LICENSE.txt
Created October 28, 2011 20:02 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE