Commit 3ccbc162 authored by Jacob Potter's avatar Jacob Potter

Don't expose internal initWithCpp method

parent a31d4274
...@@ -14,6 +14,4 @@ ...@@ -14,6 +14,4 @@
+ (id)sortItemsWithCpp:(const std::shared_ptr<::textsort::SortItems> &)cppRef; + (id)sortItemsWithCpp:(const std::shared_ptr<::textsort::SortItems> &)cppRef;
- (id)initWithCpp:(const std::shared_ptr<::textsort::SortItems> &)cppRef;
@end @end
...@@ -257,8 +257,6 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) { ...@@ -257,8 +257,6 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
w.wl w.wl
w.wl(s"+ (id)${idObjc.method(ident.name + "_with_cpp")}:(const std::shared_ptr<$cppName> &)cppRef;") w.wl(s"+ (id)${idObjc.method(ident.name + "_with_cpp")}:(const std::shared_ptr<$cppName> &)cppRef;")
w.wl w.wl
w.wl(s"- (id)initWithCpp:(const std::shared_ptr<$cppName> &)cppRef;")
w.wl
w.wl("@end") w.wl("@end")
}) })
......
...@@ -14,6 +14,4 @@ ...@@ -14,6 +14,4 @@
+ (id)cppExceptionWithCpp:(const std::shared_ptr<CppException> &)cppRef; + (id)cppExceptionWithCpp:(const std::shared_ptr<CppException> &)cppRef;
- (id)initWithCpp:(const std::shared_ptr<CppException> &)cppRef;
@end @end
...@@ -14,6 +14,4 @@ ...@@ -14,6 +14,4 @@
+ (id)testHelpersWithCpp:(const std::shared_ptr<TestHelpers> &)cppRef; + (id)testHelpersWithCpp:(const std::shared_ptr<TestHelpers> &)cppRef;
- (id)initWithCpp:(const std::shared_ptr<TestHelpers> &)cppRef;
@end @end
...@@ -14,6 +14,4 @@ ...@@ -14,6 +14,4 @@
+ (id)tokenWithCpp:(const std::shared_ptr<Token> &)cppRef; + (id)tokenWithCpp:(const std::shared_ptr<Token> &)cppRef;
- (id)initWithCpp:(const std::shared_ptr<Token> &)cppRef;
@end @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