Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#define DEFPROP(name, type_) type_ name;
#define S(_) \
_(foo, int); \
_(bar, float)
struct MyStruct {
@andyfriesen
andyfriesen / pyconfig.h
Created September 18, 2013 02:44
pyconfig for Python 3.1.2
#ifndef Py_CONFIG_H
#define Py_CONFIG_H
/* pyconfig.h. NOT Generated automatically by configure.
This is a manually maintained version used for the Watcom,
Borland and Microsoft Visual C++ compilers. It is a
standard part of the Python distribution.
WINDOWS DEFINES:
import 'dart:html';
/*
// compiled in cygwin with:
// g++ -Wall -O2 -o skinning_test_no_simd skinning_test_no_simd.cpp
#include <vector>
#include <set>
#include <map>
#include <assert.h>
module Main (
main
) where
import Control.Monad.Trans.Either
import Data.List (stripPrefix)
import Data.Char(isUpper)
import System.Exit (exitFailure)
import Test.QuickCheck.All (quickCheckAll)