CTWM
Loading...
Searching...
No Matches
Macros | Variables
/usr/src/RPM/BUILD/ctwm-4.1.0/ctwm_test.h File Reference

Go to the source code of this file.

Macros

#define TEST_POSTPARSE(cb)
 

Variables

int(* ctwm_test_postparse )(void)
 Special magic for use in tests.
 
bool ctwm_test
 Magic flag for tests. Nothing else should touch this!
 

Macro Definition Documentation

◆ TEST_POSTPARSE

#define TEST_POSTPARSE ( cb)
Value:
do { \
ctwm_test = true; \
} while(0)
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

Definition at line 16 of file ctwm_test.h.

Variable Documentation

◆ ctwm_test

bool ctwm_test
extern

Magic flag for tests. Nothing else should touch this!

Definition at line 155 of file ctwm_main.c.

Referenced by ctwm_main().

◆ ctwm_test_postparse

int(* ctwm_test_postparse) (void) ( void )
extern

Special magic for use in tests.

If you're not one of our tests, you probably shouldn't be including this file. Or even looking at it. Avert your eyes!

Special magic for use in tests.

This will trigger right after config file parsing if it's set, and then exit. Nothing else should ever touch this!

Definition at line 160 of file ctwm_main.c.

Referenced by ctwm_main().