aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorN-R-K <nrk@disroot.org>2022-06-01 01:40:49 +0000
committerGitHub <noreply@github.com>2022-06-01 07:40:49 +0600
commit364c3d6f019a26e68f2bfb9594d6bc599a947be2 (patch)
treef72a5a8153290c684c801154d87045370c7e9000 /examples
parent57ff8afe028267f71111d28278770fc9bac9baff (diff)
avoid doing dynamic allocation for bar buffers (#279)
just use a static buffer since the size is constant and doesn't change. as opposed to using malloc, this also sets the buffer's initial memory region to 0 by default. also remove BAR_{L,R}_LEN from nsxiv.h, not needed after commit b4268fbf38d1f8433c73999466e116e68c7f81e7
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions