Open amgross opened 1 year ago
For example here void * is used here: https://github.com/azure-rtos/threadx/blob/8ff9910ddc089e7af91e4089b26f225aba5d7eb7/ports_module/cortex_a35/gnu/inc/tx_port.h#L214 I know that the module struct wasn't declared yet, but it can be solved by struct forward declaration.
I think that using the void* instead of the struct pointer is misleading.
That is worth looking into... since it isn't a published API, it might be something that could be changed.
For example here void * is used here: https://github.com/azure-rtos/threadx/blob/8ff9910ddc089e7af91e4089b26f225aba5d7eb7/ports_module/cortex_a35/gnu/inc/tx_port.h#L214 I know that the module struct wasn't declared yet, but it can be solved by struct forward declaration.
I think that using the void* instead of the struct pointer is misleading.