magic/cif
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
..
CIFgen.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
CIFhier.c cif: use 'const' with 'rcsid' 2025-01-04 11:31:17 -05:00
CIFint.h Added a new "orthogonal" operator to cifoutput to allow non- 2025-03-28 10:11:17 -04:00
CIFmain.c cif: use 'const' with 'rcsid' 2025-01-04 11:31:17 -05:00
CIFrdcl.c gcc11 -Wall -Wpedantic cleanup (post TCL9) 2025-01-06 16:24:57 +00:00
CIFrdpoly.c cif: use 'const' with readonly data (also consumer DBpaint) 2025-01-04 11:31:17 -05:00
CIFrdpt.c cif: use 'const' with readonly data (also consumer DBpaint) 2025-01-04 11:31:17 -05:00
CIFrdtech.c cif: use 'const' with 'rcsid' 2025-01-04 11:31:17 -05:00
CIFrdutils.c gcc11 -Wall -Wpedantic cleanup (post __attribute__) 2025-01-06 16:25:38 +00:00
CIFread.h CIFread.h: fix struct cifrstyle.crs_layers type bool -> enum (unsigned char) 2025-01-07 14:02:07 -05:00
CIFsee.c cif: use 'const' with 'rcsid' 2025-01-04 11:31:17 -05:00
CIFtech.c Added a new "orthogonal" operator to cifoutput to allow non- 2025-03-28 10:11:17 -04:00
CIFwrite.c cif: use 'const' with 'rcsid' 2025-01-04 11:31:17 -05: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
cif.h K&R: cif.h conversion to ANSI 2024-12-26 13:05:14 -05:00