[webkit-dev] files with .mm extension

Meryl Silverburgh silverburgh.meryl at gmail.com
Thu Apr 30 21:17:43 PDT 2009


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.

Thank you.

More information about the webkit-dev mailing list