projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d93aa6
)
document UCI_INTERNAL
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Jan 2008 02:48:43 +0000
(
03:48
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Jan 2008 02:48:43 +0000
(
03:48
+0100)
err.h
patch
|
blob
|
history
diff --git
a/err.h
b/err.h
index 82eba81320693ff95693a96aa2abfaa1f7e059f0..bc838634131327bdf75626813f0ea6e049dbf4f5 100644
(file)
--- 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__); \