We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b3b82 commit 4d8153fCopy full SHA for 4d8153f
code/logic/fossil/test/mocking.h
@@ -92,8 +92,8 @@
92
* @param existing_type The existing type to create an alias for.
93
*/
94
#define _FOSSIL_MOCK_ALIAS(new_type, existing_type) \
95
- typedef existing_type fossil_mockup_##new_type##_type; \
96
- fossil_mockup_##new_type##_type fossil_mockup_##new_type(void)
+ typedef existing_type new_type; \
+ new_type fossil_mockup_##new_type(void)
97
98
/**
99
* @def _FOSSIL_MOCK_STRUCT
0 commit comments