Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ab6fc73b0c
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (20 sloc) 0.435 kb
#import <Cocoa/Cocoa.h>
@class Stack;
@class Diff;
@class Hunk;
#define DIFF_PARSER_ERROR_DOMAIN @"com.mattmower.diffly.ErrorDomain"
@interface DiffParser : NSObject {
// Ragel state variables
const char *p;
const char *pstart;
const char *pmark;
int cs;
// Parsing state
Stack *stack;
int line;
Diff *diff;
Hunk *curHunk;
NSError *error;
}
- (Diff *)diff:(NSString *)content error:(NSError**)error;
@end
Jump to Line
Something went wrong with that request. Please try again.