Rename internal macro to internal namespace

This commit is contained in:
Patrick Pelissier committed 2022-11-29 23:16:55 +01:00
1 parent 85473610a4
commit ea3584e048
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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:
+1 -1
View File
@@ -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.