Commit 9f25408d authored by Jacob Potter's avatar Jacob Potter

Regenerate generated source

parent a0e8d45d
......@@ -40,7 +40,7 @@ static_assert(__has_feature(objc_arc), "Djinni requires ARC to be enabled for th
+ (id)sortItemsWithCpp:(const std::shared_ptr<::textsort::SortItems> &)cppRef
{
const auto & cache = djinni::DbxCppWrapperCache<::textsort::SortItems>::getInstance();
return cache->get(cppRef, [&] (const std::shared_ptr<::textsort::SortItems> & p) { return [[TXSSortItemsCppProxy alloc] initWithCpp:p cache:cache]; });
return cache->get(cppRef, [&] (const std::shared_ptr<::textsort::SortItems> & p) { return [[TXSSortItems alloc] initWithCpp:p cache:cache]; });
}
- (void)sort:(TXSSortOrder)order items:(TXSItemList *)items {
......
......@@ -18,7 +18,7 @@ TextboxListenerObjcProxy::~TextboxListenerObjcProxy ()
_cache->remove(_objcRef);
}
std::shared_ptr<::textsort::TextboxListener> TextboxListenerObjcProxy::textbox_listener_with_objc (id objcRef)
std::shared_ptr<::textsort::TextboxListener> TextboxListenerObjcProxy::textbox_listener_with_objc (id<TXSTextboxListener> objcRef)
{
return djinni::DbxObjcWrapperCache<TextboxListenerObjcProxy>::getInstance()->get(objcRef);
}
......
......@@ -18,7 +18,7 @@ ClientInterfaceObjcProxy::~ClientInterfaceObjcProxy ()
_cache->remove(_objcRef);
}
std::shared_ptr<ClientInterface> ClientInterfaceObjcProxy::client_interface_with_objc (id objcRef)
std::shared_ptr<ClientInterface> ClientInterfaceObjcProxy::client_interface_with_objc (id<DBClientInterface> objcRef)
{
return djinni::DbxObjcWrapperCache<ClientInterfaceObjcProxy>::getInstance()->get(objcRef);
}
......
......@@ -36,7 +36,7 @@ static_assert(__has_feature(objc_arc), "Djinni requires ARC to be enabled for th
+ (id)cppExceptionWithCpp:(const std::shared_ptr<CppException> &)cppRef
{
const auto & cache = djinni::DbxCppWrapperCache<CppException>::getInstance();
return cache->get(cppRef, [&] (const std::shared_ptr<CppException> & p) { return [[DBCppExceptionCppProxy alloc] initWithCpp:p cache:cache]; });
return cache->get(cppRef, [&] (const std::shared_ptr<CppException> & p) { return [[DBCppException alloc] initWithCpp:p cache:cache]; });
}
- (int32_t)throwAnException {
......
......@@ -44,7 +44,7 @@ static_assert(__has_feature(objc_arc), "Djinni requires ARC to be enabled for th
+ (id)testHelpersWithCpp:(const std::shared_ptr<TestHelpers> &)cppRef
{
const auto & cache = djinni::DbxCppWrapperCache<TestHelpers>::getInstance();
return cache->get(cppRef, [&] (const std::shared_ptr<TestHelpers> & p) { return [[DBTestHelpersCppProxy alloc] initWithCpp:p cache:cache]; });
return cache->get(cppRef, [&] (const std::shared_ptr<TestHelpers> & p) { return [[DBTestHelpers alloc] initWithCpp:p cache:cache]; });
}
+ (DBSetRecord *)getSetRecord {
......
......@@ -35,7 +35,7 @@ static_assert(__has_feature(objc_arc), "Djinni requires ARC to be enabled for th
+ (id)tokenWithCpp:(const std::shared_ptr<Token> &)cppRef
{
const auto & cache = djinni::DbxCppWrapperCache<Token>::getInstance();
return cache->get(cppRef, [&] (const std::shared_ptr<Token> & p) { return [[DBTokenCppProxy alloc] initWithCpp:p cache:cache]; });
return cache->get(cppRef, [&] (const std::shared_ptr<Token> & p) { return [[DBToken alloc] initWithCpp:p cache:cache]; });
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment