MCPcopy Create free account
hub / github.com/Snapchat/djinni / sort

Method sort

examples/generated-src/wasm/NativeSortItems.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void NativeSortItems::sort(const CppType& self, int32_t w_order,const em::val& w_items) {
19 try {
20 self->sort(::djinni_generated::NativeSortOrder::toCpp(w_order),
21 ::djinni_generated::NativeItemList::toCpp(w_items));
22 }
23 catch(const std::exception& e) {
24 return ::djinni::ExceptionHandlingTraits<void>::handleNativeException(e);
25 }
26}
27em::val NativeSortItems::create_with_listener(const em::val& w_listener) {
28 try {
29 auto r = ::textsort::SortItems::create_with_listener(::djinni_generated::NativeTextboxListener::toCpp(w_listener));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected