aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-11-29 06:41:28 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-16 11:28:44 -0700
commita98a1850640ca709ed68df3ca57f0404bbc4d3fc (patch)
tree430b52ed83df3df7ffed55cf71fe59e0a159ebe3 /vis-core.h
parent4f6ecc5d11a9a3f3e628080db6f03e8dd4ef3e9d (diff)
downloadvis-a98a1850640ca709ed68df3ca57f0404bbc4d3fc.tar.gz
vis-a98a1850640ca709ed68df3ca57f0404bbc4d3fc.tar.xz
clean up remaining struct and function name collisions
I think that having structs with the same name be completely different depending on which part of the program you look at is even less readable than having functions with same name.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vis-core.h b/vis-core.h
index 92770ee..fb1e50d 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -124,10 +124,10 @@ typedef struct { /** collects all information until an operator is e
Arg arg;
} Action;
-typedef struct Change Change;
+typedef struct SamChange SamChange;
typedef struct {
- Change *changes; /* all changes in monotonically increasing file position */
- Change *latest; /* most recent change */
+ SamChange *changes; /* all changes in monotonically increasing file position */
+ SamChange *latest; /* most recent change */
enum SamError error; /* non-zero in case something went wrong */
} Transcript;