]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-lua: Move dlua_dump_stack() prototype to private header
authorJosef 'Jeff' Sipek <jeff.sipek@open-xchange.com>
Thu, 17 Dec 2020 18:06:57 +0000 (13:06 -0500)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 15 Jan 2021 13:32:57 +0000 (13:32 +0000)
src/lib-lua/dlua-script-private.h
src/lib-lua/dlua-script.h

index 455d4d5c00961c7b5815cd00b6b24d9fcb5fb0ff..ab877d480adc42af67111323d9f140b95eb1f39e 100644 (file)
@@ -104,4 +104,7 @@ void dlua_push_event(lua_State *L, struct event *event);
 /* get event from given stack position */
 struct event *dlua_check_event(lua_State *L, int arg);
 
+/* dumps current stack as i_debug lines */
+void dlua_dump_stack(struct dlua_script *script);
+
 #endif
index 8c04e688ce040a064241d449a5e6349b18614674..e5cabece387c9b74c4375ab601fe14a1531c2ee5 100644 (file)
@@ -26,7 +26,4 @@ void dlua_script_unref(struct dlua_script **_script);
 /* see if particular function is registered */
 bool dlua_script_has_function(struct dlua_script *script, const char *fn);
 
-/* dumps current stack as i_debug lines */
-void dlua_dump_stack(struct dlua_script *script);
-
 #endif