Differences From Artifact [8e696547fc]:
- File
src/bridge/Makefile
— part of check-in
[6bac6e95cb]
at
2017-10-20 20:49:15
on branch trunk
— Add OFException -> NSError bridge
This is necessary to catch exceptions in Swift. (user: js, size: 944) [annotate] [blame] [check-ins using]
To Artifact [c8a0675322]:
- File
src/bridge/Makefile
— part of check-in
[6334474ec0]
at
2017-10-20 21:20:29
on branch trunk
— bridge: Do not convert exceptions into NSErrors
Instead, provide a try method that takes up to 3 blocks. (user: js, size: 879) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 | include ../../extra.mk DISTCLEAN = Info.plist SHARED_LIB = ${OBJFW_BRIDGE_SHARED_LIB} STATIC_LIB = ${OBJFW_BRIDGE_STATIC_LIB} LIB_MAJOR = ${OBJFW_LIB_MAJOR} LIB_MINOR = ${OBJFW_LIB_MINOR} FRAMEWORK = ObjFW_Bridge.framework | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | include ../../extra.mk DISTCLEAN = Info.plist SHARED_LIB = ${OBJFW_BRIDGE_SHARED_LIB} STATIC_LIB = ${OBJFW_BRIDGE_STATIC_LIB} LIB_MAJOR = ${OBJFW_LIB_MAJOR} LIB_MINOR = ${OBJFW_LIB_MINOR} FRAMEWORK = ObjFW_Bridge.framework SRCS = OFArray+NSObject.m \ OFException+Swift.m \ OFDictionary+NSObject.m \ OFString+NSObject.m \ NSArray+OFObject.m \ NSDictionary+OFObject.m \ NSString+OFObject.m INCLUDES := ${SRCS:.m=.h} \ NSBridging.h \ OFBridging.h \ ObjFW_Bridge.h |
︙ | ︙ | |||
31 32 33 34 35 36 37 | include ../../buildsys.mk CPPFLAGS += -I. -I.. -I../.. -I../exceptions -DOF_BRIDGE_LOCAL_INCLUDES LD = ${OBJC} LIBS = -framework Foundation LIB_LDFLAGS += -L.. -lobjfw FRAMEWORK_LDFLAGS += -F.. -framework ObjFW | < < | 31 32 33 34 35 36 37 | include ../../buildsys.mk CPPFLAGS += -I. -I.. -I../.. -I../exceptions -DOF_BRIDGE_LOCAL_INCLUDES LD = ${OBJC} LIBS = -framework Foundation LIB_LDFLAGS += -L.. -lobjfw FRAMEWORK_LDFLAGS += -F.. -framework ObjFW |