Differences From Artifact [277ccadbda]:
- File src/tools.h — part of check-in [eac9e3d948] at 2025-03-20 20:59:25 on branch trunk — Convert several files to pure Objective-C (user: js, size: 1074) [annotate] [blame] [check-ins using]
To Artifact [1e36fccfb6]:
- File
src/tools.h
— part of check-in
[6b85eefc85]
at
2025-03-23 02:47:40
on branch trunk
— Remove loop[ijkl]
They confused clang-format a lot. (user: js, size: 982) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | typedef unsigned short ushort; typedef unsigned int uint; #define max(a, b) (((a) > (b)) ? (a) : (b)) #define min(a, b) (((a) < (b)) ? (a) : (b)) #define rnd(max) (rand() % (max)) #define rndreset() (srand(1)) | | | | > < < < < < | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | typedef unsigned short ushort; typedef unsigned int uint; #define max(a, b) (((a) > (b)) ? (a) : (b)) #define min(a, b) (((a) < (b)) ? (a) : (b)) #define rnd(max) (rand() % (max)) #define rndreset() (srand(1)) #define rndtime() \ { \ for (int i = 0; i < (lastmillis & 0xF); i++) \ rnd(i + 1); \ } #ifndef OF_WINDOWS # define __cdecl #endif #define fast_f2nat(val) ((int)(val)) |
︙ | ︙ |