lua/uloop: fd_add: use absolute indices for arguments
authorKarl Palsson <karlp@etactica.com>
Tue, 30 Jun 2020 10:38:43 +0000 (10:38 +0000)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 09:15:12 +0000 (11:15 +0200)
commit53b9a2123fc6f0a7fa09ada066cbb0491c72bcf5
tree877bb70ec1c6203df81c1e702a387eb8571f30a0
parentc0941d3289fc0f1468ad6384f7af141cfd4adead
lua/uloop: fd_add: use absolute indices for arguments

Instead of having to adjust the index repeatedly as the stack is
manipulated, use absolute addressing for the function arguments, so they
stay the same throughout the call.  Zero functional change, just
subjectively easier to follow variables.

Signed-off-by: Karl Palsson <karlp@etactica.com>
lua/uloop.c