42 #include "common.h" |
42 #include "common.h" |
43 |
43 |
44 #ifdef __cplusplus |
44 #ifdef __cplusplus |
45 extern "C" { |
45 extern "C" { |
46 #endif |
46 #endif |
47 |
|
48 /** |
|
49 * Convenience macro for a for loop that counts from zero to n-1. |
|
50 */ |
|
51 #define cx_for_n(varname, n) for (size_t varname = 0 ; (varname) < (n) ; (varname)++) |
|
52 |
47 |
53 // cx_szmul() definition |
48 // cx_szmul() definition |
54 |
49 |
55 #if (__GNUC__ >= 5 || defined(__clang__)) && !defined(CX_NO_SZMUL_BUILTIN) |
50 #if (__GNUC__ >= 5 || defined(__clang__)) && !defined(CX_NO_SZMUL_BUILTIN) |
56 #define CX_SZMUL_BUILTIN |
51 #define CX_SZMUL_BUILTIN |