From 0080c435932349af4ed6e8ca8f4f09d5c3d71845 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Feb 2020 11:24:29 +0100 Subject: Use the same name for recursive struct types Similar to the previous commit, this was non-standard and caused documentation issues. With this commit, the data structures index page looks as expected. Unlike the previous commit, though, these names are actually needed because the struct definition refers to itself. Simply use the same name instead of the underscore prefix, since the "struct namespace" in C is different anyway. --- lv2/atom/forge.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lv2/atom') diff --git a/lv2/atom/forge.h b/lv2/atom/forge.h index 5bcd816..e992ff2 100644 --- a/lv2/atom/forge.h +++ b/lv2/atom/forge.h @@ -81,9 +81,9 @@ typedef LV2_Atom* LV2_Atom_Forge_Ref ref); /** A stack frame used for keeping track of nested Atom containers. */ -typedef struct _LV2_Atom_Forge_Frame { - struct _LV2_Atom_Forge_Frame* parent; - LV2_Atom_Forge_Ref ref; +typedef struct LV2_Atom_Forge_Frame { + struct LV2_Atom_Forge_Frame* parent; + LV2_Atom_Forge_Ref ref; } LV2_Atom_Forge_Frame; /** A "forge" for creating atoms by appending to a buffer. */ -- cgit v1.2.1