• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

An Objective-C wrapper for Mac OS X’s FSEvents C API.


Commit MetaInfo

Revisionb0e1f6db19aa32a204c7baa7ea523a574401b1e3 (tree)
Time2011-02-05 10:52:42
AuthorAron Cedercrantz <aron@cede...>
CommiterAron Cedercrantz

Log Message

Fixed a dup symbols bug properly, thanks to Kirk Kerekes.

Change Summary

Incremental Difference

--- a/CDEvents.h
+++ b/CDEvents.h
@@ -70,7 +70,7 @@ extern NSString *const CDEventsEventStreamCreationFailureException;
7070 *
7171 * @since 1.0.0
7272 */
73-#define CD_EVENTS_DEFAULT_NOTIFICATION_LATENCY (NSTimeInterval)3.0
73+#define CD_EVENTS_DEFAULT_NOTIFICATION_LATENCY ((NSTimeInterval)3.0)
7474
7575 /**
7676 * The default value wheter events from sub directories should be ignored or not.
@@ -84,16 +84,14 @@ extern NSString *const CDEventsEventStreamCreationFailureException;
8484 *
8585 * @since 1.0.0
8686 */
87-const CDEventsEventStreamCreationFlags kCDEventsDefaultEventStreamFlags =
88- (kFSEventStreamCreateFlagUseCFTypes |
89- kFSEventStreamCreateFlagWatchRoot);
87+extern const CDEventsEventStreamCreationFlags kCDEventsDefaultEventStreamFlags;
9088
9189 /**
9290 * Use this to get all event since now when initializing a CDEvents object.
9391 *
9492 * @since 1.1.0
9593 */
96-const CDEventIdentifier kCDEventsSinceEventNow = kFSEventStreamEventIdSinceNow;
94+extern const CDEventIdentifier kCDEventsSinceEventNow;
9795
9896
9997 #pragma mark -
--- a/CDEvents.m
+++ b/CDEvents.m
@@ -13,6 +13,14 @@
1313 #pragma mark CDEvents custom exceptions
1414 NSString *const CDEventsEventStreamCreationFailureException = @"CDEventsEventStreamCreationFailureException";
1515
16+#pragma -
17+#pragma mark Default values
18+const CDEventsEventStreamCreationFlags kCDEventsDefaultEventStreamFlags =
19+ (kFSEventStreamCreateFlagUseCFTypes |
20+ kFSEventStreamCreateFlagWatchRoot);
21+
22+const CDEventIdentifier kCDEventsSinceEventNow = kFSEventStreamEventIdSinceNow;
23+
1624
1725 #pragma mark -
1826 #pragma mark Private API