Skip to content

Commit

Permalink
Merge pull request #682 from Quick/tweak-cwlpreconditiontesting
Browse files Browse the repository at this point in the history
Tweak CwlPreconditionTesting and CwlCatchException
  • Loading branch information
ikesyo authored Sep 9, 2019
2 parents f3c7caf + 368fbb6 commit ece5f01
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "CwlCatchException",
products: [
.library(name: "CwlCatchException", type: .dynamic, targets: ["CwlCatchException"]),
.library(name: "CwlCatchException", targets: ["CwlCatchException"]),
],
targets: [
.target(name: "CwlCatchException", dependencies: [.target(name: "CwlCatchExceptionSupport")]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

#import "CwlCatchException.h"

#if !SWIFT_PACKAGE
__attribute__((visibility("hidden")))
#endif
NSException* __nullable catchExceptionOfKind(Class __nonnull type, void (^ __nonnull inBlock)(void)) {
@try {
inBlock();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ FOUNDATION_EXPORT double CwlCatchExceptionVersionNumber;
//! Project version string for CwlCatchException.
FOUNDATION_EXPORT const unsigned char CwlCatchExceptionVersionString[];

#if !SWIFT_PACKAGE
__attribute__((visibility("hidden")))
#endif
NSException* __nullable catchExceptionOfKind(Class __nonnull type, void (^ __nonnull inBlock)(void));
2 changes: 1 addition & 1 deletion Carthage/Checkouts/CwlPreconditionTesting/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "CwlPreconditionTesting",
products: [
.library(name: "CwlPreconditionTesting", type: .dynamic, targets: ["CwlPreconditionTesting", "CwlMachBadInstructionHandler"])
.library(name: "CwlPreconditionTesting", targets: ["CwlPreconditionTesting", "CwlMachBadInstructionHandler"])
],
dependencies: [
.package(url: "https://github.com/mattgallagher/CwlCatchException.git", from: "1.2.0")
Expand Down

0 comments on commit ece5f01

Please sign in to comment.