Removing ITOSA* and ITAppleEvent* classes from ITFoundation, and updating
[ITFoundation.git] / ITCarbonSupport.m
1 #import "ITCarbonSupport.h"
2
3 NSString *NSStringFromFourCharCode(unsigned long code) {
4     return [NSString stringWithUTF8String:&code];
5 }
6
7 unsigned long FourCharCodeFromNSString(NSString *string) {
8     return (*((unsigned long*)[string UTF8String]));
9 }