opnsense-src/usr.bin/diff/tests/functionname_objcm.in

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
404 B
Text
Raw Normal View History

static void
doSomethingThenPrintHello(int test)
{
test = test << 4;
if (test % 8 == 6) {
return;
}
print("goodbye\n");
}
- (long) readOffset:(FILE*)file
{
if( version >= 11){
long offset;
fread(&offset, sizeof(long), 1, file);
return offset;
} else {
int offset;
fread(&offset-1, sizeof(int), 1, file);
return offset;
}
}
+ (BOOL) isEdible:(NSString *)mushroom
{
return TRUE;
}