src/cx/utils.h

changeset 509
0d3c6075f82c
parent 483
929016224c3c
child 527
08539b8273fa
     1.1 --- a/src/cx/utils.h	Sat Apr 09 16:37:43 2022 +0200
     1.2 +++ b/src/cx/utils.h	Sat Apr 09 18:02:53 2022 +0200
     1.3 @@ -46,6 +46,8 @@
     1.4  extern "C" {
     1.5  #endif
     1.6  
     1.7 +#define cx_for_n(varname, n) for (size_t varname = 0 ; (varname) < (n) ; (varname)++)
     1.8 +
     1.9  /* ----------------------
    1.10   * cx_szmul() definition.
    1.11   * ---------------------- */

mercurial