diff options
author | Julian <MyFakeAcc.4@googlemail.com> | 2015-07-05 21:24:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:31 +0200 |
commit | 95b6bc31b0786252fe146cd137d6ef1a1f5049e0 (patch) | |
tree | 26f5f1473c91cf13d9e564bb4b2a5a96ca91db71 /misc/node.c | |
parent | d88adcfbc79386474fdae2f3186ac4168eb55d90 (diff) | |
download | mpv-95b6bc31b0786252fe146cd137d6ef1a1f5049e0.tar.bz2 mpv-95b6bc31b0786252fe146cd137d6ef1a1f5049e0.tar.xz |
stats: unify redundant functions
Unify both append_property* functions and greatly refactor them.
Instead of thousands of arguments we now use a table.
While this is in theory cleaner it does not exactly look like it.
However, it's way more flexible and extendable this way.
Also, since the new append_property() might look a bit confusing
I felt the need to add a comment.
Diffstat (limited to 'misc/node.c')
0 files changed, 0 insertions, 0 deletions