X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=err.h;h=9dd5a59ff083ee0570c518940549f2f90aad2247;hp=cf428563e960def9a98c2109b67e3e8f93955452;hb=508525c69e08a96031ed24f2d09e3bc2d1d33fca;hpb=7952092949fb0dccd126d5ff6f73807feb4211b8;ds=sidebyside 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; \