chiark / gitweb /
hashmap: document trivial_hash_func()
[elogind.git] / src / shared / macro.h
index ac61b495883dc754f124010428e2b5e36302db78..0874102ece6afa10cdebd0031120532a3828b5c8 100644 (file)
@@ -28,6 +28,7 @@
 #include <inttypes.h>
 
 #define _printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
+#define _alloc_(...) __attribute__ ((alloc_size(__VA_ARGS__)))
 #define _sentinel_ __attribute__ ((sentinel))
 #define _noreturn_ __attribute__((noreturn))
 #define _unused_ __attribute__ ((unused))