aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_compose_uint16.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-21 18:08:32 +0100
committerMattias Andrée <maandree@kth.se>2023-01-21 18:08:32 +0100
commit5e9e4ffc468b5f9287641e23dc375afd77177523 (patch)
tree5fc741325e6d617e5fadce7f45910bf606f50c89 /libglitter_compose_uint16.c
parentm doc (diff)
downloadlibglitter-5e9e4ffc468b5f9287641e23dc375afd77177523.tar.gz
libglitter-5e9e4ffc468b5f9287641e23dc375afd77177523.tar.bz2
libglitter-5e9e4ffc468b5f9287641e23dc375afd77177523.tar.xz
Add integer versions of libglitter_compose_*
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libglitter_compose_uint16.c')
-rw-r--r--libglitter_compose_uint16.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libglitter_compose_uint16.c b/libglitter_compose_uint16.c
new file mode 100644
index 0000000..ea24f8e
--- /dev/null
+++ b/libglitter_compose_uint16.c
@@ -0,0 +1,7 @@
+/* See LICENSE file for copyright and license details. */
+#include "libglitter.h"
+typedef uint_fast32_t greater_t;
+#define greater_t greater_t
+#define libglitter_compose_uint64 libglitter_compose_uint16
+#define uint64_t uint16_t
+#include "libglitter_compose_uint64.c"