Huge update to ITFoundation. I've gone through every file (except queue.h
[ITFoundation.git] / ITCarbonSupport.m
1 #import "ITCarbonSupport.h"
2
3 NSString *NSStringFromFourCharCode(unsigned long code) {
4         return [NSString stringWithUTF8String:(const char *)&code];
5 }
6
7 unsigned long FourCharCodeFromNSString(NSString *string) {
8         return (*((unsigned long*)[string UTF8String]));
9 }