In a number of spots in dwm and st I've seen the use of integers as booleans. 
e.g.
- dwm.c line 95, 140, 1870
- drw.c line 252
- st.c line 44, 48

That's not an extensive list; just some examples.

I'm curious why you use ints though. Because bools are 31 bits smaller than 
ints, which is 31 bits of memory saved. Not that 31 bits is very much, but 
still...

Reply via email to