diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-04-20 14:12:11 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-04-20 17:23:23 +0100 |
| commit | 095224d5711f3482d6be0ffc01621143f25c7104 (patch) | |
| tree | 7ef8e7c682dbcde9cd8247fb5d963b8ddcf88280 /puzzles.h | |
| parent | 89c438e149a91fffa74b2669f7e0cd05abc3420f (diff) | |
| download | puzzles-095224d5711f3482d6be0ffc01621143f25c7104.zip puzzles-095224d5711f3482d6be0ffc01621143f25c7104.tar.gz puzzles-095224d5711f3482d6be0ffc01621143f25c7104.tar.bz2 puzzles-095224d5711f3482d6be0ffc01621143f25c7104.tar.xz | |
Actually make DSF an opaque structure type.
This makes good on all the previous preparatory commits, which I did
separately so that each one individually has a reasonably readable
diff, and all the mechanical changes are separated out from the
rewrites that needed actual thought.
Still no functional change, however: the DSF type wraps nothing but
the same int pointer that 'DSF *' used to store directly.
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -426,7 +426,7 @@ char *button2label(int button); /* * dsf.c */ -typedef int DSF; +typedef struct DSF DSF; DSF *snew_dsf(int size); void dsf_free(DSF *dsf); |