ultimatepp/bazaar/BoostPyTest/world.h
kohait d4d3d7f8ad bazaar: PyConsoleCtrl: history functionality, BoostPyTest: Value exposure as int, first try, starting upp module
git-svn-id: svn://ultimatepp.org/upp/trunk@3339 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-13 14:54:33 +00:00

18 lines
305 B
C++

#ifndef _BoostPyTest_world_h_
#define _BoostPyTest_world_h_
#include <Py/Py.h>
using namespace boost::python;
//A Simple class
struct World
{
void set(std::string msg) { this->msg = msg; }
std::string greet() const { return msg; }
std::string msg;
};
void export_world();
#endif