ctf/visitor-generate-ir: rename struct ctf to ctf_visitor_generate_ir
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 20 Jan 2022 14:51:17 +0000 (09:51 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 28 Jan 2022 16:22:26 +0000 (11:22 -0500)
commitcf81cdaeac58c2fdb99ba15bdcb588fc09750fd3
tree3b0214dff5273567f23d0d3d1b84587cbe6eb9cc
parent443dc632d44324c54e2ddcf176342bddfd14e6b0
ctf/visitor-generate-ir: rename struct ctf to ctf_visitor_generate_ir

This code uses a different name for an externally visible struct type
(struct ctf_visitor_generate_ir) that is never defined, and an internal
struct type (struct ctx).  This requires some casts from the external
type to the internal type at the entry points.  This seems pointless to
me.  Change the internal type to have the same name as the externally
visible type.  It is still opaque from the point of view of the users
outside this compilation unit.

Change-Id: I1503b50658bf43e5cb4a60dfb811384ac5a24359
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7100
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/common/metadata/visitor-generate-ir.c
This page took 0.023979 seconds and 4 git commands to generate.