On 2009-04-30, at 21:17, Meryl Silverburgh wrote:
Hi, Can you please tell me what are the files with .mm extension? e.g. platform/graphics/mac/ImageMac.mm? It looks like c++, but it has syntax like this:NSBundle *bundle = [NSBundle bundleForClass:[WebCoreBundleFinder class]];NSString *imagePath = [bundle pathForResource:[NSString stringWithUTF8String:name] ofType:@"tiff"]; NSData *namedImageData = [NSData dataWithContentsOfFile:imagePath]; So I am not sure how to read those lines.
The .mm extension indicates Objective-C++, a hybrid of Objective-C and C++. The portion of code that you quoted is Objective-C. See <http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html > for more information about Objective-C.
- Mark
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

