diff options
-rw-r--r-- | changelog.md | 4 | ||||
-rw-r--r-- | include/u8c/dbgprint.h | 4 | ||||
-rw-r--r-- | include/u8c/ver.h | 2 | ||||
-rw-r--r-- | test.c | 2 |
4 files changed, 8 insertions, 4 deletions
diff --git a/changelog.md b/changelog.md index 6943821..4fbc674 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 12 + +* Use `u8c_println` instead of `u8c_print` in `u8c_dbgprint`. + # 11 * Update README. diff --git a/include/u8c/dbgprint.h b/include/u8c/dbgprint.h index fd7a460..42fcb16 100644 --- a/include/u8c/dbgprint.h +++ b/include/u8c/dbgprint.h @@ -22,8 +22,8 @@ # define u8c_dbgprint(...) ((void)0x0) # endif # else -# include <u8c/print.h> +# include <u8c/println.h> # include <stdio.h> -# define u8c_dbgprint(...) u8c_print(stderr,__VA_ARGS__) +# define u8c_dbgprint(...) u8c_println(stderr,__VA_ARGS__) # endif # endif diff --git a/include/u8c/ver.h b/include/u8c/ver.h index 3122392..8dc9042 100644 --- a/include/u8c/ver.h +++ b/include/u8c/ver.h @@ -16,5 +16,5 @@ /* Version */ # if !defined(u8c_ver) # include <stdint.h> -# define u8c_ver (UINT64_C(0xD)) +# define u8c_ver (UINT64_C(0xE)) # endif @@ -179,7 +179,7 @@ int main(void) { # if defined(__STDC_UTF_32__) testmsg("UTF-32 string literals"); { - u8c_println(stdout,u8c_txt("Can you see this?")); + u8c_println(stdout,u8c_txt("Can you see ðis?")); } testmsgdone(&errcount0,&errcount1); # endif |