diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/u8c/u32free.h (renamed from include/u8c/freeu32.h) | 6 | ||||
-rw-r--r-- | include/u8c/u8free.h (renamed from include/u8c/freeu8.h) | 6 | ||||
-rw-r--r-- | include/u8c/ver.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/u8c/freeu32.h b/include/u8c/u32free.h index 99ac8c2..8a12c97 100644 --- a/include/u8c/freeu32.h +++ b/include/u8c/u32free.h @@ -14,13 +14,13 @@ If not, see <https://www.gnu.org/licenses/>. */ /* Format */ -# if !defined(u8c_freeu32) +# if !defined(u8c_u32free) # if defined(__cplusplus) # include <cstdlib> -# define u8c_freeu32(u32) (std::free(const_cast<uint_least32_t *>(u32))) +# define u8c_u32free(u32) (std::free(const_cast<uint_least32_t *>(u32))) # else # include <stdint.h> # include <stdlib.h> -# define u8c_freeu32(u32) (free((uint_least32_t *)u32)) +# define u8c_u32free(u32) (free((uint_least32_t *)u32)) # endif # endif diff --git a/include/u8c/freeu8.h b/include/u8c/u8free.h index 7ae7abd..a1940da 100644 --- a/include/u8c/freeu8.h +++ b/include/u8c/u8free.h @@ -14,13 +14,13 @@ If not, see <https://www.gnu.org/licenses/>. */ /* Format */ -# if !defined(u8c_freeu8) +# if !defined(u8c_u8free) # if defined(__cplusplus) # include <cstdlib> -# define u8c_freeu8(u8) (std::free(u8)) +# define u8c_u8free(u8) (std::free(const_cast<std::uint_least8_t *>(u8))) # else # include <stdint.h> # include <stdlib.h> -# define u8c_freeu8(u8) (free((uint_least8_t *)u8)) +# define u8c_u8free(u8) (free((uint_least8_t *)u8)) # endif # endif diff --git a/include/u8c/ver.h b/include/u8c/ver.h index edf91ed..c53bd70 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(0xF)) +# define u8c_ver (UINT64_C(0x10)) # endif |