diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-07-18 11:09:50 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-07-18 11:09:50 +0200 |
| commit | 7946c8efc2e2a44a8e78e1263c1691ce9f412a09 (patch) | |
| tree | f04505d6444a59b26c8c2e55311b70bbbf1ce364 /src/utils.h | |
| parent | 3d060c348fdfff074a9b902d56f539664789d831 (diff) | |
| download | nissy-core-7946c8efc2e2a44a8e78e1263c1691ce9f412a09.tar.gz nissy-core-7946c8efc2e2a44a8e78e1263c1691ce9f412a09.zip | |
Converted set to map
Diffstat (limited to '')
| -rw-r--r-- | src/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 021ca75..87402e6 100644 --- a/src/utils.h +++ b/src/utils.h | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | #define _swap(x, y) do { x ^= y; y ^= x; x ^= y; } while (0) | 1 | #define _swap(x, y) do { x ^= y; y ^= x; x ^= y; } while (0) |
| 2 | #define _min(x, y) ((x) < (y) ? (x) : (y)) | ||
| 3 | #define _max(x, y) ((x) > (y) ? (x) : (y)) | ||
| 2 | 4 | ||
| 3 | _static int64_t factorial(int64_t); | 5 | _static int64_t factorial(int64_t); |
| 4 | _static bool isperm(uint8_t *, int64_t); | 6 | _static bool isperm(uint8_t *, int64_t); |
