ITSendAEWithString returns the direct object AEDesc, or returns 0 if there is none.
[ITFoundation.git] / ITCarbonSupport.m
1 #import "ITCarbonSupport.h"
2
3 NSString *NSStringFromFourCharCode(FourCharCode code) {
4     return [NSString stringWithUTF8String:&code];
5 }
6
7 FourCharCode FourCharCodeFromNSString(NSString *string) {
8     return (*((unsigned long*)[string UTF8String]));
9 }