chiark / gitweb /
util: close all fds before freezing execution
[elogind.git] / src / macro.h
index b3da60f13e51e926c967c5c07c0222080861a801..996b7c2ed141b42c4f8ce8ea3ffa4881cf1108c1 100644 (file)
 #define _public_ __attribute__ ((visibility("default")))
 #define _hidden_ __attribute__ ((visibility("hidden")))
 #define _weakref_(x) __attribute__((weakref(#x)))
+#define _introspect_(x) __attribute__((section("introspect." x)))
+
+#define XSTRINGIFY(x) #x
+#define STRINGIFY(x) XSTRINGIFY(x)
 
 /* Rounds up */
 static inline size_t ALIGN(size_t l) {