On Mon Apr 29 13:16:00 2024 +0000, Jinoh Kang wrote:
(nit) I think it's a common practice not to repeat macro arguments to avoid surprising behavior due to double execution of code; is there any reason you decided against it?
const type *__shared = (object_shm); \ type *shared = (type *)__shared; \ session_object_t *__obj = CONTAINING_RECORD( shared, session_object_t, shm ); \
Changed. There was no good reason, only cosmetics.