magic/router
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
router.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
routerInt.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
rtrChannel.c CodeQL MemoryMayNotBeFreed.ql rtrChannel.c RtrChannelRoute() 2025-02-22 21:35:23 -05:00
rtrCmd.c CodeQL MemoryMayNotBeFreed.ql rtrCmd.c CmdRoute() 2025-02-22 21:35:23 -05:00
rtrDcmpose.c 17 x warning: suggest parentheses around assignment used as truth value 2024-10-09 21:12:55 -04:00
rtrDcmpose.h CodeQL IncorrectNotOperatorUsage.ql rtrDcmppose.c rtrCLEAR() usages 2025-02-22 21:31:22 -05:00
rtrFdback.c gcc11 -Wall -Wpedantic cleanup 2025-01-06 16:12:11 +00:00
rtrHazards.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
rtrMain.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
rtrPaint.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
rtrPin.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
rtrSide.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
rtrStem.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
rtrTech.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
rtrTravers.c Ti[GS]etClient() usage enforcement 2025-04-09 14:55:58 -04:00
rtrVia.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
tclroute.c TCL9: Tcl_InitStubs(version="9.0") 2025-01-04 11:08:01 -05:00