summaryrefslogtreecommitdiff
path: root/rpmio/rpmlua.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2021-11-26 14:24:58 +0200
committerPanu Matilainen <pmatilai@redhat.com>2021-12-15 16:57:58 +0200
commit523da38e4f54b0f48ee574cfb3dd1bce486ccf8c (patch)
tree826e9eff3d69c38be7ba531297a9be424b89e76d /rpmio/rpmlua.h
parent81e855aeb1d840a4058dd8b9121aeec1068a1095 (diff)
downloadrpm-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.h2
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