|
Derive-C
|
#include <derive-c/core/zerosized.h>Go to the source code of this file.
Macros | |
| #define | DC_SCOPED(type) |
| RAII in C. Call the destructor when the variable goes out of scope. | |
| #define | DC_DEFER(fcn) |
Functions | |
| DC_ZERO_SIZED (sentinel) | |
| Simple zero sized value for DC_DEFER. | |
| #define DC_DEFER | ( | fcn | ) |
Call the function with a null 'sentinel' value.
| #define DC_SCOPED | ( | type | ) |
RAII in C. Call the destructor when the variable goes out of scope.
| DC_ZERO_SIZED | ( | sentinel | ) |
Simple zero sized value for DC_DEFER.