File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,7 @@ struct BridgedDeclObj {
319319#endif
320320
321321 BridgedDeclObj (SwiftObject obj) : obj(obj) {}
322- BridgedDeclObj (BridgedDecl decl)
323- : obj(static_cast <SwiftObject>(decl.unbridged())) {}
322+ BRIDGED_INLINE BridgedDeclObj (BridgedDecl decl);
324323 BridgedOwnedString getDebugDescription () const ;
325324 BRIDGED_INLINE swift::SourceLoc getLoc () const ;
326325 SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedDeclObj getModuleContext () const ;
Original file line number Diff line number Diff line change @@ -165,6 +165,9 @@ BridgedFileUnit_castToSourceFile(BridgedFileUnit fileUnit) {
165165// MARK: BridgedDeclObj
166166//===----------------------------------------------------------------------===//
167167
168+ BridgedDeclObj ::BridgedDeclObj (BridgedDecl decl )
169+ : obj (static_cast < SwiftObject > (decl .unbridged ())) {}
170+
168171swift ::SourceLoc BridgedDeclObj ::getLoc () const {
169172 return unbridged ()-> getLoc ();
170173}
You can’t perform that action at this time.
0 commit comments