X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=err.h;h=9dd5a59ff083ee0570c518940549f2f90aad2247;hp=cf428563e960def9a98c2109b67e3e8f93955452;hb=8a57a274ffb49afe113ad86de9632db927326778;hpb=23a794e9c2e3bf39550e46c0bafe544cf6c617e8 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; \