Debian Codegraph @

tests/inputs/logos.xm

raw
1 # https://github.com/theos/logos#source-file-tweakx
2 # c++
3 %hook NSObject
4
5 - (NSString *)description {
6 return [%orig stringByAppendingString:@" (of doom)"];
7 }
8
9 %new - (void)helloWorld {
10 NSLog(@"Awesome!");
11 }
12
13 %end