mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-17 06:06:52 -06:00
19 lines
291 B
C++
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
|