summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2021-03-03 19:58:57 +0200
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2021-03-03 19:58:57 +0200
commitd7e2af2582660e3ed4ce824c33a21ffbf9ed4c6f (patch)
treeb515c5988331dd668b91047193b1d4ca78544e14 /src
parent56473644aa260aad93f21050a2064854a3448c13 (diff)
downloadalgos-ld1-d7e2af2582660e3ed4ce824c33a21ffbf9ed4c6f.tar.gz
algos-ld1-d7e2af2582660e3ed4ce824c33a21ffbf9ed4c6f.tar.bz2
algos-ld1-d7e2af2582660e3ed4ce824c33a21ffbf9ed4c6f.zip
bit of comments.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src')
-rw-r--r--src/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index 2c0d81c..20621ef 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -23,6 +23,8 @@
goto l;\
}} while (0);
+/* 8 to 64 bits fit into basic types */
+
#if entry_field_size == 8
# ifdef entry_field_signed
typedef int8_t field;
@@ -47,6 +49,9 @@
# else
typedef uint64_t field;
# endif
+
+/* 128 bit and up do not fit in basic types; building composites */
+
#elif entry_field_size == 128
# ifdef entry_field_signed
typedef struct field {