|
libcute 0.1
|


Go to the source code of this file.
Macros | |
| #define | CU_RESULT_NAME(NAME) NAME##_Result |
| #define | CU_RESULT_FN(NAME, SUFFIX) CU_CONCAT(CU_RESULT_NAME(NAME), SUFFIX) |
| #define | CU_RESULT_HEADER(NAME, T, E) |
| #define | CU_RESULT_DECL(NAME, T, E) |
| #define | CU_RESULT_IMPL(NAME, T, E) |
Generic result helper macros.
| #define CU_RESULT_DECL | ( | NAME, | |
| T, | |||
| E | |||
| ) |
Declare the typed result struct and its helpers.
| #define CU_RESULT_FN | ( | NAME, | |
| SUFFIX | |||
| ) | CU_CONCAT(CU_RESULT_NAME(NAME), SUFFIX) |
Construct a result helper function name.
| #define CU_RESULT_HEADER | ( | NAME, | |
| T, | |||
| E | |||
| ) |
Declare result helper functions for a given type.
| #define CU_RESULT_IMPL | ( | NAME, | |
| T, | |||
| E | |||
| ) |
Implement the typed result helpers.
| #define CU_RESULT_NAME | ( | NAME | ) | NAME##_Result |
Build the concrete result type name for a category.