aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/atom
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-23 11:24:29 +0100
committerDavid Robillard <d@drobilla.net>2020-02-23 11:24:29 +0100
commit0080c435932349af4ed6e8ca8f4f09d5c3d71845 (patch)
treec7430de797bef7b815a7ad705ddf298b5f00cc2a /lv2/atom
parentf44953307bc58eb2a364297416b61c2262a64759 (diff)
downloadlv2-0080c435932349af4ed6e8ca8f4f09d5c3d71845.tar.xz
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.
Diffstat (limited to 'lv2/atom')
-rw-r--r--lv2/atom/forge.h6
1 files changed, 3 insertions, 3 deletions
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. */