]> pilppa.com Git - uci.git/commitdiff
document UCI_INTERNAL
authorFelix Fietkau <nbd@openwrt.org>
Wed, 30 Jan 2008 02:48:43 +0000 (03:48 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 30 Jan 2008 02:48:43 +0000 (03:48 +0100)
err.h

diff --git a/err.h b/err.h
index 82eba81320693ff95693a96aa2abfaa1f7e059f0..bc838634131327bdf75626813f0ea6e049dbf4f5 100644 (file)
--- a/err.h
+++ b/err.h
        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__);         \