/* Automatically generated by mkexports.lua */
#include <libextl/extl.h>
#include <libextl/private.h>

/* quiet warnings for generated code */
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-macros"
#endif

EXTL_DEFCLASS(WRootWin);
static bool l2chnd_v__(void (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    fn();
    return TRUE;
}
static bool l2chnd_b_st___(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    out[0].b=fn(in[0].s, in[1].t);
    return TRUE;
}
static bool l2chnd_b_ost__WRootWin__(bool (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    if(!EXTL_CHKO1(in, 0, WRootWin)) return FALSE;
    out[0].b=fn(in[0].o, in[1].s, in[2].t);
    return TRUE;
}
static bool l2chnd_t_st___(ExtlTab (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    out[0].t=fn(in[0].s, in[1].t);
    return TRUE;
}

#define WRootWin_exports NULL
extern void de_reset();
extern void de_defstyle();
extern void de_substyle();
extern void de_defstyle_rootwin();


static ExtlExportedFnSpec de_exports[] = {
    {"reset", de_reset, NULL, NULL, (ExtlL2CallHandler*)l2chnd_v__, FALSE, FALSE, FALSE},
    {"defstyle", de_defstyle, "St", "b", (ExtlL2CallHandler*)l2chnd_b_st___, FALSE, FALSE, FALSE},
    {"substyle", de_substyle, "St", "t", (ExtlL2CallHandler*)l2chnd_t_st___, TRUE, FALSE, FALSE},
    {"defstyle_rootwin", de_defstyle_rootwin, "oSt", "b", (ExtlL2CallHandler*)l2chnd_b_ost__WRootWin__, FALSE, FALSE, FALSE},
    {NULL, NULL, NULL, NULL, NULL, FALSE, FALSE, FALSE}
};

bool de_register_exports()
{
    if(!extl_register_module("de", de_exports)) return FALSE;
    return TRUE;
}

void de_unregister_exports()
{
    extl_unregister_module("de", de_exports);
}

