/* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "dlua-script-private.h"
{
return 0;
}
{
return 0;
}
{
return 0;
}
{
return 0;
}
{ "i_debug", dlua_i_debug },
{ "i_info", dlua_i_info },
{ "i_warning", dlua_i_warning },
{ "i_error", dlua_i_error },
};
{
}
{
/* Create table for holding values */
lua_newtable(script->L);
/* push new metatable to stack */
/* this will register functions to the metatable itself */
/* point __index to self */
/* set table's metatable, pops stack */
/* register table as global */
}