Rename internal macro to internal namespace
This commit is contained in:
1 parent
85473610a4
commit
ea3584e048
2 files changed
+3
-3
No files matched your search
@@ -2310,10 +2310,10 @@ done
|
|||||||
|
|
||||||
/* If the Function Object is included, expands the code,
|
/* If the Function Object is included, expands the code,
|
||||||
otherwise do nothing.
|
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.
|
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:
|
/* Helper macro to redefine a function with a default value:
|
||||||
|
|||||||
+1
-1
@@ -98,7 +98,7 @@
|
|||||||
/* To be used by M_IF_FUNCOBJ macro defined in m-core.
|
/* 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.
|
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:
|
/* Design Constraints:
|
||||||
* callback SHALL be the first member of the structures in all the definitions.
|
* callback SHALL be the first member of the structures in all the definitions.
|
||||||
|
|||||||
Reference in new issue
Block a user