aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-21 17:04:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-21 17:04:36 +0000
commitcdb2d90b893f35326146dbc657952265f1bf61ac (patch)
tree62b63cefa32fe8dd4753d00b00678dc95aaa6c9b /scripts/benchmark.py
parentconfig: pipe_argv_from_value(): plug memory leak (diff)
config: argv_compare(): change parameters to ‘struct argv *’
Instead of passing raw char** pointers to argv_compare(), pass pointers to ‘struct argv’. This lets argv_compare() handle both argv’s being NULL, or one of them being NULL. That is, the caller no longer needs to check that both argv’s are non-NULL before calling argv_compare(). Furthermore, update has_key_binding_collisions() to require the pipe argv to match, in addition to matching the ‘action’, when allowing a key collision.
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions