My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 59 attachment: CTidy_UsageDefineChecks.patch (869 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -r ab6ba0207ff6 TouchXML/Common/Source/Tidy/CTidy.h
--- a/TouchXML/Common/Source/Tidy/CTidy.h
+++ b/TouchXML/Common/Source/Tidy/CTidy.h
@@ -27,6 +27,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
//

+#ifdef TOUCHXMLUSETIDY
+
#import <Foundation/Foundation.h>

#include "tidy.h"
@@ -47,3 +49,5 @@
- (NSString *)tidyString:(NSString *)inString inputFormat:(CTidyFormat)inInputFormat outputFormat:(CTidyFormat)inOutputFormat diagnostics:(NSString **)outDiagnostics error:(NSError **)outError;

@end
+
+#endif /* TOUCHXMLUSETIDY */
diff -r ab6ba0207ff6 TouchXML/Common/Source/Tidy/CTidy.m
--- a/TouchXML/Common/Source/Tidy/CTidy.m
+++ b/TouchXML/Common/Source/Tidy/CTidy.m
@@ -27,6 +27,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
//

+#ifdef TOUCHXMLUSETIDY
+
#import "CTidy.h"

@interface CTidy ()
@@ -226,3 +228,5 @@


@end
+
+#endif /* TOUCHXMLUSETIDY */
Powered by Google Project Hosting