Re: [PATCH v4] graph: expose node context as pointers

2024-03-25 Thread Jerin Jacob
On Mon, Mar 25, 2024 at 10:11 PM Robin Jarry wrote: > > In some cases, the node context data is used to store two pointers > because the data is larger than the reserved 16 bytes. Having to define > intermediate structures just to be able to cast is tedious. Add helper > inline functions to cast t

[PATCH v4] graph: expose node context as pointers

2024-03-25 Thread Robin Jarry
In some cases, the node context data is used to store two pointers because the data is larger than the reserved 16 bytes. Having to define intermediate structures just to be able to cast is tedious. Add helper inline functions to cast the node context to opaque pointers. Signed-off-by: Robin Jarry