ultimatepp/bazaar/BoostPyTest/world.h
kohait 6dbb8ad60d bazaar: BoostPyTest: first attemt to structurize the export, more to be done, cleanup of unnessecary using namespace's
git-svn-id: svn://ultimatepp.org/upp/trunk@3360 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-19 15:05:45 +00:00

19 lines
291 B
C++

#ifndef _BoostPyTest_world_h_
#define _BoostPyTest_world_h_
#include <Py/Py.h>
struct World
{
void set(std::string msg) { this->msg = msg; }
std::string greet() const { return msg; }
std::string msg;
};
NAMESPACE_UPP
void export_world();
END_UPP_NAMESPACE
#endif