Skip to content

Instantly share code, notes, and snippets.

@coyotte508
Last active December 31, 2015 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coyotte508/7974719 to your computer and use it in GitHub Desktop.
Save coyotte508/7974719 to your computer and use it in GitHub Desktop.
#include <pythran/pythran.h>
/* Module name, function name, argument types */
pythran_export_solo(test, init, int)
#include "test.cpp"
namespace test = namespace __pythran_test;
int main() {
test::init()(10);
test::run()();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment