From: Felix Fietkau Date: Wed, 30 Jan 2008 02:48:43 +0000 (+0100) Subject: document UCI_INTERNAL X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=a79ac49b066a821b6d99bca846091854e3715a49;hp=0d93aa6955690384f76da04a17831aa3a2d116cf document UCI_INTERNAL --- diff --git a/err.h b/err.h index 82eba81..bc83863 100644 --- a/err.h +++ b/err.h @@ -73,6 +73,12 @@ memcpy(ctx->trap, __old_trap, sizeof(ctx->trap)); \ } while(0) +/** + * UCI_INTERNAL: Do an internal call of a public API function + * + * Sets Exception handling to passthrough mode. + * Allows API functions to change behavior compared to public use + */ #define UCI_INTERNAL(func, ctx, ...) do { \ ctx->internal = true; \ func(ctx, __VA_ARGS__); \