git.ithinksw.org
/
ITFoundation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabling garbage collection support.
[ITFoundation.git]
/
ITCarbonSupport.m
diff --git
a/ITCarbonSupport.m
b/ITCarbonSupport.m
old mode 100755
(executable)
new mode 100644
(file)
index
75c5e53
..
23b6f69
--- a/
ITCarbonSupport.m
+++ b/
ITCarbonSupport.m
@@
-1,9
+1,10
@@
#import "ITCarbonSupport.h"
#import "ITCarbonSupport.h"
+#import "ITCategory-NSString.h"
NSString *NSStringFromFourCharCode(unsigned long code) {
NSString *NSStringFromFourCharCode(unsigned long code) {
-
return [NSString stringWithUTF8String:&
code];
+
return [NSString stringWithFourCharCode:
code];
}
unsigned long FourCharCodeFromNSString(NSString *string) {
}
unsigned long FourCharCodeFromNSString(NSString *string) {
-
return (*((unsigned long*)[string UTF8String]))
;
+
return [string fourCharCode]
;
}
\ No newline at end of file
}
\ No newline at end of file