mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
13 lines
334 B
C++
13 lines
334 B
C++
#include "UppString.h"
|
|
|
|
String Stringhello() { return String( "my new custom string" ); }
|
|
std::size_t Stringsize(const String& s) { return s.GetLength(); }
|
|
|
|
void export_UppString()
|
|
{
|
|
to_python_converter<String, String_to_python_str>();
|
|
String_from_python_str();
|
|
def("hello", Stringhello);
|
|
def("size", Stringsize);
|
|
}
|
|
|