Skip to content

Commit

Permalink
Nu 2.0.0 release.
Browse files Browse the repository at this point in the history
Also fixed warning message in macro-related code.
  • Loading branch information
timburks committed Aug 25, 2011
1 parent ec02af2 commit 4c18358
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Nukefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(ifDarwin (then (NSString stringWithShellCommand:"xcode-select -print-path"))
(else nil)))

(global VERSION '(1 9 0)) #(major minor tweak)
(global VERSION '(2 0 0)) #(major minor tweak)

(task "version" is
(set now (NSCalendarDate date))
Expand Down
16 changes: 9 additions & 7 deletions objc/Nu.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
limitations under the License.
*/

#define NU_VERSION "1.9.1"
#define NU_VERSION_MAJOR 1
#define NU_VERSION_MINOR 9
#define NU_VERSION_TWEAK 1
#define NU_RELEASE_DATE "2011-07-02"
#define NU_VERSION "2.0.0"
#define NU_VERSION_MAJOR 2
#define NU_VERSION_MINOR 0
#define NU_VERSION_TWEAK 0
#define NU_RELEASE_DATE "2011-08-25"
#define NU_RELEASE_YEAR 2011
#define NU_RELEASE_MONTH 07
#define NU_RELEASE_DAY 02
#define NU_RELEASE_MONTH 08
#define NU_RELEASE_DAY 25

#import <AvailabilityMacros.h>
#import <unistd.h>
Expand Down Expand Up @@ -5561,6 +5561,7 @@ - (NSString *) stringValue

- (void) dumpContext:(NSMutableDictionary*)context
{
#ifdef MACRO1_DEBUG
NSArray* keys = [context allKeys];
NSUInteger count = [keys count];
for (int i = 0; i < count; i++) {
Expand All @@ -5569,6 +5570,7 @@ - (void) dumpContext:(NSMutableDictionary*)context
[[context objectForKey:key] stringValue],
[[context objectForKey:key] class]);
}
#endif
}

- (void) restoreArgs:(id)old_args context:(NSMutableDictionary*)calling_context
Expand Down

0 comments on commit 4c18358

Please sign in to comment.