summaryrefslogtreecommitdiff
path: root/src/libvmon/defs/_end.def
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-08-28 00:36:53 -0700
committerVito Caputo <vcaputo@gnugeneration.com>2016-09-09 14:14:31 -0700
commit4642216f70dd98134a79f9299b7ca4bc876649c7 (patch)
treebdf9fd892bc54a2f2a678a9828c6af9d9fc8bed2 /src/libvmon/defs/_end.def
parente99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff)
*: refactor all the things
Long overdue house cleaning. The addition of compositing/monitoring overlays in vwm3 pushed vwm well past what is a reasonable size for a simple thousand line file. This is a first step towards restoring sanity in the code, but no behavioral differences are intended, this is mostly just shuffling around and organizing code. I expect some performance regressions initially, follow-on commits will make more improvements to that end as the dust settles.
Diffstat (limited to 'src/libvmon/defs/_end.def')
-rw-r--r--src/libvmon/defs/_end.def43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/libvmon/defs/_end.def b/src/libvmon/defs/_end.def
new file mode 100644
index 0000000..9243349
--- /dev/null
+++ b/src/libvmon/defs/_end.def
@@ -0,0 +1,43 @@
+#ifndef VMON_SUPPRESS_UNDEFS
+
+/* XXX TODO: we may need to detect and manage the automatic definition of the vmon_omit_* definitions */
+
+#undef vmon_datum_str
+#undef vmon_datum_str_array
+#undef vmon_datum_char
+#undef vmon_datum_char_array
+#undef vmon_datum_int
+#undef vmon_datum_uint
+#undef vmon_datum_ulong
+#undef vmon_datum_ulonglong
+#undef vmon_datum_long
+#undef vmon_datum_longlong
+#undef vmon_omit_n
+#undef vmon_omit_literal
+#undef vmon_omit_run
+#undef vmon_omit_str
+#undef vmon_omit_str_array
+#undef vmon_omit_char
+#undef vmon_omit_char_array
+#undef vmon_omit_int
+#undef vmon_omit_uint
+#undef vmon_omit_ulong
+#undef vmon_omit_ulonglong
+#undef vmon_omit_long
+#undef vmon_omit_longlong
+#undef VMON_DECLARE_MEMBERS
+#undef VMON_DECLARE_CHANGEBITS
+#undef VMON_ENUM_SYMBOLS
+#undef VMON_ASSIGN_NAME_TABLE
+#undef VMON_ASSIGN_DESC_TABLE
+#undef VMON_ENUM_PARSER_STATES
+#undef VMON_PREPARE_PARSER
+#undef VMON_IMPLEMENT_PARSER
+#undef VMON_PARSER_DELIM
+#undef vmon_want
+
+#else
+
+#undef VMON_SUPPRESS_UNDEFS
+
+#endif
© All Rights Reserved