summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/luma/print.h4
-rw-r--r--include/luma/utf8dec.h3
-rw-r--r--include/luma/utf8enc.h3
3 files changed, 6 insertions, 4 deletions
diff --git a/include/luma/print.h b/include/luma/print.h
index 0105940..227823c 100644
--- a/include/luma/print.h
+++ b/include/luma/print.h
@@ -1,5 +1,5 @@
# if !defined(LUMA_HDR_PRINT)
# define LUMA_HDR_PRINT
-# include <uchar.h>
-extern void luma_print(char * str,...);
+# include <stdint.h>
+extern void luma_print(uint32_t * str,...);
# endif
diff --git a/include/luma/utf8dec.h b/include/luma/utf8dec.h
index 56ef640..6d6fbe9 100644
--- a/include/luma/utf8dec.h
+++ b/include/luma/utf8dec.h
@@ -1,5 +1,6 @@
# if !defined(LUMA_HDR_UTF8DEC)
# define LUMA_HDR_UTF8DEC
+# include <stddef.h>
# include <stdint.h>
-extern uint32_t * luma_utf8enc(char const * str);
+extern uint32_t * luma_utf8dec(uint8_t const * str,size_t * outszptr);
# endif
diff --git a/include/luma/utf8enc.h b/include/luma/utf8enc.h
index 8b9aa25..5d6d7cf 100644
--- a/include/luma/utf8enc.h
+++ b/include/luma/utf8enc.h
@@ -1,5 +1,6 @@
# if !defined(LUMA_HDR_UTF8ENC)
# define LUMA_HDR_UTF8ENC
+# include <stddef.h>
# include <stdint.h>
-extern uint8_t const * luma_utf8enc(uint32_t * codep);
+extern uint8_t const * luma_utf8enc(uint32_t * codep,size_t * outszptr);
# endif