X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=err.h;h=9dd5a59ff083ee0570c518940549f2f90aad2247;hp=cf428563e960def9a98c2109b67e3e8f93955452;hb=8f5a6c07caaaf5bd692623d1ed8ffbfa20f564d8;hpb=7952092949fb0dccd126d5ff6f73807feb4211b8 diff --git a/err.h b/err.h index cf42856..9dd5a59 100644 --- a/err.h +++ b/err.h @@ -36,7 +36,8 @@ * * NB: this does not handle recursion at all. Calling externally visible * functions from other uci functions is only allowed at the end of the - * calling function. + * calling function, or by wrapping the function call in UCI_TRAP_SAVE + * and UCI_TRAP_RESTORE. */ #define UCI_HANDLE_ERR(ctx) do { \ int __val; \