From ea3584e04800ad2d305c4a9d58d334322b2f6268 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 29 Nov 2022 23:16:55 +0100 Subject: [PATCH] Rename internal macro to internal namespace --- m-core.h | 4 ++-- m-funcobj.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/m-core.h b/m-core.h index 9e16d6c0..604f2ced 100644 --- a/m-core.h +++ b/m-core.h @@ -2310,10 +2310,10 @@ done /* If the Function Object is included, expands the code, otherwise do nothing. - M_FUNCOBJ_IS_NOT_DEFINED is defined to 0. + M_FUNC0BJ_IS_NOT_DEFINED is defined to 0. NOTE: M_IF is the variable is not defined assummes yes. */ -#define M_IF_FUNCOBJ(a) M_IF(M_FUNCOBJ_IS_NOT_DEFINED)( ,a) +#define M_IF_FUNCOBJ(a) M_IF(M_FUNC0BJ_IS_NOT_DEFINED)( ,a) /* Helper macro to redefine a function with a default value: diff --git a/m-funcobj.h b/m-funcobj.h index 47ee4dc7..5810f619 100644 --- a/m-funcobj.h +++ b/m-funcobj.h @@ -98,7 +98,7 @@ /* To be used by M_IF_FUNCOBJ macro defined in m-core. NOTE: It is reversed (0 instead of 1) so that it can be used in M_IF reliabely. */ -#define M_FUNCOBJ_IS_NOT_DEFINED 0 +#define M_FUNC0BJ_IS_NOT_DEFINED 0 /* Design Constraints: * callback SHALL be the first member of the structures in all the definitions.