diff th_printf.c @ 661:7f1efa37288b

Rename TH_PFUNC_* macros to TH_VPRINTF_INTFMT_*
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 Jan 2020 06:09:57 +0200
parents 308531ac74e7
children 284d5b789b7c
line wrap: on
line diff
--- a/th_printf.c	Mon Jan 27 06:02:22 2020 +0200
+++ b/th_printf.c	Mon Jan 27 06:09:57 2020 +0200
@@ -1,5 +1,5 @@
 /*
- * A printf() implementation
+ * A simple and incomplete printf() implementation
  * Programmed and designed by Matti 'ccr' Hamalainen
  * (C) Copyright 2016-2020 Tecnic Software productions (TNSP)
  *
@@ -102,15 +102,15 @@
 }
 
 
-#define TH_PFUNC_NAME th_vprintf_buf_int
-#define TH_PFUNC_TYPE_S int
-#define TH_PFUNC_TYPE_U unsigned int
+#define TH_VPRINTF_INTFMT_NAME th_vprintf_buf_int
+#define TH_VPRINTF_INTFMT_TYPE_S int
+#define TH_VPRINTF_INTFMT_TYPE_U unsigned int
 #include "th_printf1.c"
 
 
-#define TH_PFUNC_NAME th_vprintf_buf_int64
-#define TH_PFUNC_TYPE_S int64_t
-#define TH_PFUNC_TYPE_U uint64_t
+#define TH_VPRINTF_INTFMT_NAME th_vprintf_buf_int64
+#define TH_VPRINTF_INTFMT_TYPE_S int64_t
+#define TH_VPRINTF_INTFMT_TYPE_U uint64_t
 #include "th_printf1.c"