magic/sim
Darryl L. Miles 606f37cc80 Ti[GS]etClient() usage enforcement
All naked access to `ti_client` now uses the function-like-macro
to encapsulate this action.  This macro existed before this just
makes all sites utilize it.

Added additional INT and PTR variants to remove the programmer
load on thinking about casing and casts polluting the point
of use.  So the use now looks cleaner.

Equivalent prototypes:

 void TiSetClient(Tile*, ClientData)
 void TiSetClientINT(Tile*, intptr_t) /* pointertype */
 void TiSetClientPTR(Tile*, void*)

 ClientData TiGetClient(Tile*)
 intptr_t TiGetClientINT(Tile*) /* pointertype */
 void *TiGetClientPTR(Tile*)
2025-04-09 14:55:58 -04:00
..
Makefile Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
SimDBstuff.c Corrected behavior of "load ... -dereference" to bring back a 2023-04-18 11:01:58 -04:00
SimExtract.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
SimRsim.c SimRsim.c: directive writing 1 byte into a region of size between 0 and 255 2024-10-09 20:39:12 -04:00
SimSelect.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
SimSelect.c.new Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
sim.h C99 code compat when configured with no TCL support 2022-10-29 06:07:46 +02:00