summaryrefslogtreecommitdiffstats
path: root/m_config.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-18 16:08:17 +0200
committerwm4 <wm4@nowhere>2012-09-23 14:58:31 +0200
commitbfc3dbae88dc70a832e82c5b44474fdf5a5e65a5 (patch)
treec769b3d50393a01c59c329d96236cd54b3d24ca1 /m_config.h
parent7fe56f16026d6b2440e879078f8848a5056f1da8 (diff)
downloadmpv-bfc3dbae88dc70a832e82c5b44474fdf5a5e65a5.tar.bz2
mpv-bfc3dbae88dc70a832e82c5b44474fdf5a5e65a5.tar.xz
options: simplify somewhat by introducing a union for option values
The m_option_value union is supposed to contain a field for each possible option type (as long as it actually stores data). This helps avoiding silly temporary memory alocations. Using a pointer to an union and to a field of the union interchangeably should be allowed by standard C.
Diffstat (limited to 'm_config.h')
0 files changed, 0 insertions, 0 deletions