Fix double referencing of SIDE_TYPE_OPTIONAL
authorOlivier Dion <odion@efficios.com>
Thu, 24 Oct 2024 15:43:33 +0000 (11:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 24 Oct 2024 20:31:57 +0000 (16:31 -0400)
commit211779f05d90873cfcff6fb09a4233c92a8e6ef0
treee50d26eefcea49b4d8bd45997b1ebb5cc43ae290
parenta99e8bc9fc2da38a8a9d44a772e2294a5a24827e
Fix double referencing of SIDE_TYPE_OPTIONAL

An optional type was a pointer to a `struct side_type'.  This results in
having OPTIONAL -> OPTIONAL -> TYPE when defining an optional.

Fix this by defining a `struct side_type_optional' that has a pointer to
a `struct side_type', just like other containers.

Change-Id: I4100fad7485d309e4f3ba798227eac0694fcc294
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/abi/type-description.h
include/side/instrumentation-c-api.h
src/visit-arg-vec.c
src/visit-description.c
This page took 0.023412 seconds and 4 git commands to generate.