mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
13 lines
297 B
C++
13 lines
297 B
C++
#include "UppValue.h"
|
|
|
|
Value Valuehelloval() { return 2244; }
|
|
int Valuedoubleit(const Value& v) { return int(v) * 2; }
|
|
|
|
void export_UppValue()
|
|
{
|
|
to_python_converter<Value, Value_to_python>();
|
|
Value_from_python();
|
|
def("helloval", Valuehelloval);
|
|
def("doubleit", Valuedoubleit);
|
|
}
|
|
|