Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
delta1 committed Nov 23, 2023
1 parent a7e2211 commit c31288a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simplicity-sys/depend/simplicity/bounded.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
#include <stdbool.h>
#include <stdint.h>

typedef uint_least32_t ubounded;
#define UBOUNDED_MAX UINT32_MAX

typedef uint_least32_t ubounded;

static inline ubounded max(ubounded x, ubounded y) {
return x <= y ? y : x;
}
Expand Down

0 comments on commit c31288a

Please sign in to comment.