aboutsummaryrefslogtreecommitdiffstats
path: root/libj2.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-12-14 16:18:25 +0100
committerMattias Andrée <m@maandree.se>2025-12-14 16:18:25 +0100
commitf2048a19fe007bff1f1e942303cc9cbaf65e7e7e (patch)
treeab367b4bdf6b7b8de088321fdce8c323655d4072 /libj2.h
parentFix and test signed left-shift (diff)
downloadlibj2-f2048a19fe007bff1f1e942303cc9cbaf65e7e7e.tar.gz
libj2-f2048a19fe007bff1f1e942303cc9cbaf65e7e7e.tar.bz2
libj2-f2048a19fe007bff1f1e942303cc9cbaf65e7e7e.tar.xz
Document the macros, structs, and enum
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libj2.h')
-rw-r--r--libj2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libj2.h b/libj2.h
index 58e4fbf..c351e43 100644
--- a/libj2.h
+++ b/libj2.h
@@ -67,7 +67,7 @@ struct libj2_j2u {
/**
* Most significant half
*/
- uintmax_t high;
+ uintmax_t high;
/**
* Least significant half
@@ -98,7 +98,7 @@ struct libj2_j2i {
* Most significant half, of which the most
* significant bit is the sign bit
*/
- uintmax_t high;
+ uintmax_t high;
/**
* Least significant half
@@ -131,7 +131,7 @@ enum libj2_overflow {
* Overflow prediction stopped
* (due to high cost)
*/
- LIBJ2_OVERFLOW_UNKNOWN
+ LIBJ2_OVERFLOW_UNKNOWN = 2
};