Hello world!

This tutorial lets you export exactly 1 function from C++ to Python!
std::string hello()
{
return std::string("Hello world!");
}

PY_DECLARE_MODULE( embedding )
PY_MODULE_FUNCTION( embedding, hello )
PY_EXTENSION_MODULE( embedding )
The code hopefully speaks for itself but here we go nonetheless: