Commit Graph

10 Commits

Author SHA1 Message Date
Amadeusz Sławiński
2fab4d6f73 use size_t in ProcessInput 2017-02-15 12:45:02 +01:00
Amadeusz Sławiński
1b34eff99a get rid of unused argument
we do all calculations in base10
2016-09-23 20:54:30 +02:00
Amadeusz Sławiński
bdeb037e10 more type conversions to bool 2015-12-06 12:53:04 +01:00
Amadeusz Sławiński
b5a6d7688d make local functions static 2015-12-06 12:53:04 +01:00
Amadeusz Sławiński
1b1ce01899 int -> size_t for size types 2015-09-02 16:40:23 +02:00
Mike Gerwitz
b77bbc11b2 MakeWinMsgEv now accepts a WinMsgBuf pointer, defaulting to global
I had intended to remove the global variable entirely, but the changes were too
far-reaching for me to be confident at the moment; they will be revisited later
in smaller chunks. Until then, to work into the existing code, MakeWinMsgEv will
use the provided pointer if set, otherwise continue to use the global; this will
have the effect of allowing the winmsg stuff to be re-entrant, while keeping the
remainder of the system working the way it is. (Note that MakeWinMsgEv is still
not re-entrant.)

This also restores backtick functionality which was broken recently; it seems to
have been using a temporary buffer to store the old winmsg contents in because
MakeWinMsgEv is not re-entrant. This temporary buffer has been replaced with a
freshly allocated WinMsgBuf.

Conflicts:
	src/process.c
2015-06-26 15:18:31 +02:00
Amadeusz Sławiński
a73a91ea68 get rid of extern.h 2015-06-26 14:23:14 +02:00
Amadeusz Sławiński
97b2ec0ed4 move global variables declarations to corresponding headers 2015-06-26 12:30:55 +02:00
Amadeusz Sławiński
7dd44046c9 use Window type instead of struct win 2015-06-26 10:52:01 +02:00
Amadeusz Sławiński
144836c3bb more header stuff
move forward declarations of functions from extern.h to their own header
files
fix inclusion option passed in Makefile
cosmetic stuff on some structs
2015-06-25 17:22:58 +02:00