diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2021-11-26 14:24:58 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2021-12-15 16:57:58 +0200 |
commit | 523da38e4f54b0f48ee574cfb3dd1bce486ccf8c (patch) | |
tree | 826e9eff3d69c38be7ba531297a9be424b89e76d /rpmio/rpmlua.h | |
parent | 81e855aeb1d840a4058dd8b9121aeec1068a1095 (diff) | |
download | rpm-523da38e4f54b0f48ee574cfb3dd1bce486ccf8c.tar.gz |
Eliminate rpm.next_file() from the permanent Lua API
This screams for a closure, use one. This is not supposed to change
any functionality except, except only make the rpm.next_file() function
available in the context of scriptlets which is the only context it is
meaningful.
Diffstat (limited to 'rpmio/rpmlua.h')
-rw-r--r-- | rpmio/rpmlua.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rpmio/rpmlua.h b/rpmio/rpmlua.h index f9732b970..baf58d8d6 100644 --- a/rpmio/rpmlua.h +++ b/rpmio/rpmlua.h @@ -25,8 +25,6 @@ void rpmluaInteractive(rpmlua lua); char *rpmluaPopPrintBuffer(rpmlua lua); void rpmluaPushPrintBuffer(rpmlua lua); -void rpmluaSetNextFileFunc(char *(*func)(void *), void *funcParam); - char *rpmluaCallStringFunction(rpmlua lua, const char *function, struct rpmhookArgs_s *args); #ifdef __cplusplus |