stijn 07bf3179f6 py/misc: Fix msvc and C++ compatibility.
Use explicit casts to suppress warnings about implicit conversions, add a
workaround for constant expression conditional, and make functions static
inline (as is done in the rest of the codebase) to suppress 'warning C4505:
unreferenced function with internal linkage has been removed'.

(Follow up to fix commit 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894)

Signed-off-by: stijn <stijn@ignitron.net>
2024-07-25 12:55:23 +10:00
..
2024-06-21 16:21:33 +10:00
2024-07-19 10:36:30 +10:00
2023-06-02 21:50:57 +10:00
2024-06-06 17:34:28 +10:00
2024-06-21 16:21:27 +10:00