ecoli_utils(3)

πŸ“¦
version 0.11.3 Β· 2 versions
, in epel 9

πŸ’– ecoli_utils(3) β€” Libecoli utils, bestie πŸ’–

okay so this is the ecoli_utils(3) page from Libecoli, and it is literally all about the misc utility macros. It’s giving β€œsmall but iconic header-file energy,” and we are obsessed. πŸŽ€


🌸 NAME 🌸

ecoli_utils β€” Utils

  • Misc utils.

✨ SYNOPSIS ✨

🧚 Macros 🧚

#define EC_CAST(x, old_type, new_type)
#define EC_VA_END   ((void *)1)
#define EC_COUNT_OF(x)   ((sizeof(x) / sizeof(0 [x])) /
    ((size_t)(!(sizeof(x) % sizeof(0 [x])))))
#define EC_DEPRECATED(msg)   __attribute__((deprecated(msg)))
#define EC_DEPRECATED_MACRO_(x)   _Pragma(#x)
#define EC_DEPRECATED_MACRO(msg)   EC_DEPRECATED_MACRO_(GCC warning msg)

πŸ¦‹ Detailed Description πŸ¦‹

Misc utils. That’s it. That’s the whole detailed description. Lowkey iconic of it. πŸ’…


πŸ’… Macro Definition Documentation πŸ’…

#define EC_CAST(x, old_type, new_type)

Value:

({                                                                                                 __typeof__(old_type) __x = (x);                                                            (__typeof__(new_type))__x;                                                             })

Cast a variable into a type, ensuring its initial type first.

Definition at line 17 of file utils.h.


#define EC_VA_END ((void *)1)

Mark the end of the arguments list in some functions.

Definition at line 26 of file utils.h.


#define EC_COUNT_OF(x) ((sizeof(x) / sizeof(0 [x])) / ((size_t)(!(sizeof(x) % sizeof(0 [x])))))

Count number of elements in an array.

Definition at line 31 of file utils.h.


#define EC_DEPRECATED(msg) __attribute__((deprecated(msg)))

Mark a function or type as deprecated.

Definition at line 36 of file utils.h.


#define EC_DEPRECATED_MACRO_(x) _Pragma(#x)

Emit a deprecation warning when a macro is expanded.

Definition at line 41 of file utils.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Libecoli from the source code.


That’s the whole page, bestie. This little masterpiece is Libecoli version 0.11.3, dated Thu Apr 9 2026 β€” auto-generated and still serving looks. Periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from