QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
compat.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include "quickio.h"
8 
9 #ifndef G_DEFINE_QUARK
10  #define G_DEFINE_QUARK(QN, q_n) \
11  GQuark \
12  q_n##_quark (void) \
13  { \
14  static GQuark q; \
15  if G_UNLIKELY (q == 0) \
16  q = g_quark_from_static_string (#QN); \
17  return q; \
18  }
19 #endif
Every header, definition, and whatnot QuickIO needs to run.