CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/ctwm_test.h
Go to the documentation of this file.
1/**
2 * Special magic for use in tests. If you're not one of our tests, you
3 * probably shouldn't be including this file. Or even looking at it.
4 * Avert your eyes!
5 */
6
7#ifndef _CTWM_CTWM_TEST_H
8#define _CTWM_CTWM_TEST_H
9
10// extern's for our magic flag and callback connections
12extern bool ctwm_test;
13
14
15// Provide a macro for hooking up callback
16#define TEST_POSTPARSE(cb) do { \
17 ctwm_test = true; \
18 ctwm_test_postparse = (cb); \
19 } while(0)
20
21
22#endif // _CTWM_CTWM_TEST_H
static int PlaceX
Definition add_window.c:82
bool ctwm_test
Magic flag for tests. Nothing else should touch this!
Definition ctwm_main.c:155
int(* ctwm_test_postparse)(void)
Special magic for use in tests.
Definition ctwm_main.c:160