chiark / gitweb /
Use a proper union in struct config_item.
authorSimon Tatham <anakin@pobox.com>
Sun, 1 Oct 2017 12:38:35 +0000 (13:38 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 1 Oct 2017 15:34:41 +0000 (16:34 +0100)
commitde67801b0fd3dfa11777c1ef86cd617baf376b7b
treef632daee458c8fefcfc90ff809c44672adeedaa4
parenteeb2db283de9115f7256fa4cc49597d63e06b0ab
Use a proper union in struct config_item.

This allows me to use different types for the mutable, dynamically
allocated string value in a C_STRING control and the fixed constant
list of option names in a C_CHOICES.
51 files changed:
blackbox.c
bridges.c
cube.c
devel.but
dominosa.c
emcc.c
fifteen.c
filling.c
flip.c
flood.c
galaxies.c
gtk.c
guess.c
inertia.c
keen.c
lightup.c
loopy.c
magnets.c
map.c
midend.c
mines.c
misc.c
nestedvm.c
net.c
netslide.c
osx.m
palisade.c
pattern.c
pearl.c
pegs.c
puzzles.h
range.c
rect.c
samegame.c
signpost.c
singles.c
sixteen.c
slant.c
solo.c
tents.c
towers.c
tracks.c
twiddle.c
undead.c
unequal.c
unfinished/group.c
unfinished/slide.c
unfinished/sokoban.c
unruly.c
untangle.c
windows.c