functionname_objcclassm.in 493 B

1234567891011121314151617181920212223242526272829303132
  1. static void
  2. doSomethingThenPrintHello(int test)
  3. {
  4. test = test << 4;
  5. if (test % 8 == 6) {
  6. return;
  7. }
  8. print("goodbye\n");
  9. }
  10. - (long) readOffset:(FILE*)file
  11. {
  12. if( version >= 11){
  13. long offset;
  14. fread(&offset, sizeof(long), 1, file);
  15. return offset;
  16. } else {
  17. int offset;
  18. fread(&offset, sizeof(int), 1, file);
  19. return offset;
  20. }
  21. }
  22. + (BOOL) isEdible:(NSString *)mushroom
  23. {
  24. /* With a solid guide book (such as Phillips 2006) assume we can't eat
  25. * the fungus */
  26. return FALSE;
  27. }