This file contains 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
// 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) |
This file contains 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
#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) |
This file contains 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
# 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. |
NewerOlder