Permalink
Browse files

Update Source/Tidy/CTidy.m

  • Loading branch information...
1 parent 8fb4ed9 commit fde41b147bfc778865f6c3025d73986d229e3fe5 @AdamBuckley committed Oct 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Tidy/CTidy.m
View
@@ -45,7 +45,7 @@ + (CTidy *)tidy
return([[[self alloc] init] autorelease]);
}
-- (NSData *)tidyData:(NSData *)inData inputFormat:(CTidyFormat)inInputFormat outputFormat:(CTidyFormat)inOutputFormat diagnostics:(NSString **)outDiagnostics error:(NSError **)outError
+- (NSData *)tidyData:(NSData *)inData inputFormat:(CTidyFormat)inInputFormat outputFormat:(CTidyFormat)inOutputFormat encoding:(const char*)encoding diagnostics:(NSString **)outDiagnostics error:(NSError **)outError
{
TidyDoc theTidyDocument = tidyCreate();
@@ -139,7 +139,7 @@ - (NSData *)tidyData:(NSData *)inData inputFormat:(CTidyFormat)inInputFormat out
return(theOutput);
}
-- (NSString *)tidyString:(NSString *)inString inputFormat:(CTidyFormat)inInputFormat outputFormat:(CTidyFormat)inOutputFormat diagnostics:(NSString **)outDiagnostics error:(NSError **)outError
+- (NSString *)tidyString:(NSString *)inString inputFormat:(CTidyFormat)inInputFormat outputFormat:(CTidyFormat)inOutputFormat encoding:(const char*)encoding diagnostics:(NSString **)outDiagnostics error:(NSError **)outError
{
TidyDoc theTidyDocument = tidyCreate();

0 comments on commit fde41b1

Please sign in to comment.