Update BreakpointManager.{h,m} with the correct types
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 11 Jan 2011 02:42:37 +0000 (21:42 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 11 Jan 2011 02:42:37 +0000 (21:42 -0500)
Source/BreakpointManager.h
Source/BreakpointManager.m

index 87ee3494a6a3a6f9d60306e9b00f312d5418767a..f5533931389e4c4805adcc20045a53d52a8f4411 100644 (file)
@@ -31,8 +31,8 @@
 
 + (BreakpointManager*)sharedManager;
 - (void)addBreakpoint:(Breakpoint*)bp;
-- (Breakpoint*)removeBreakpointAt:(int)line inFile:(NSString*)file;
+- (Breakpoint*)removeBreakpointAt:(NSUInteger)line inFile:(NSString*)file;
 - (NSArray*)breakpointsForFile:(NSString*)file;
-- (BOOL)hasBreakpointAt:(int)line inFile:(NSString*)file;
+- (BOOL)hasBreakpointAt:(NSUInteger)line inFile:(NSString*)file;
 
 @end
index 0407a472163c8006bcd1512699d35bae43f98a31..f60cb870824823cb45797081c6062300d5d8cf66 100644 (file)
@@ -82,7 +82,7 @@
 /**
  * Removes a breakpoint at a given line/file combination, or nil if nothing was removed
  */
-- (Breakpoint*)removeBreakpointAt:(int)line inFile:(NSString*)file
+- (Breakpoint*)removeBreakpointAt:(NSUInteger)line inFile:(NSString*)file
 {
   for (Breakpoint* b in breakpoints)
   {
 /**
  * Checks to see if a given file has a breakpoint on a given line
  */
-- (BOOL)hasBreakpointAt:(int)line inFile:(NSString*)file
+- (BOOL)hasBreakpointAt:(NSUInteger)line inFile:(NSString*)file
 {
   return [breakpoints containsObject:[[[Breakpoint alloc] initWithLine:line inFile:file] autorelease]];
 }