aboutsummaryrefslogtreecommitdiffstats
path: root/libquanta_quantise.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-11-23 21:33:38 +0100
committerMattias Andrée <m@maandree.se>2025-11-23 21:33:38 +0100
commit226d807bb8bc0cdbc011b2e616ac02881e74c542 (patch)
treee35bcc0f0b2bad8abfbb5da6db5580a813ca48bc /libquanta_quantise.c
downloadlibquanta-226d807bb8bc0cdbc011b2e616ac02881e74c542.tar.gz
libquanta-226d807bb8bc0cdbc011b2e616ac02881e74c542.tar.bz2
libquanta-226d807bb8bc0cdbc011b2e616ac02881e74c542.tar.xz
First commit
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libquanta_quantise.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libquanta_quantise.c b/libquanta_quantise.c
new file mode 100644
index 0000000..8d7c3e5
--- /dev/null
+++ b/libquanta_quantise.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+struct libquanta_image *
+libquanta_quantise(struct libquanta_palette *palette, ...)
+{
+ va_list args;
+ va_start(args, palette);
+ return libquanta_vquantise(palette, args);
+ va_end(args);
+}