/* 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

static bool l2chnd_t_t__(ExtlTab (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    out[0].t=fn(in[0].t);
    return TRUE;
}
static bool l2chnd_t__(ExtlTab (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    out[0].t=fn();
    return TRUE;
}

extern void mod_xrandr_get_all_outputs();
extern void mod_xrandr_get_outputs_for_geom();


static ExtlExportedFnSpec mod_xrandr_exports[] = {
    {"get_all_outputs", mod_xrandr_get_all_outputs, NULL, "t", (ExtlL2CallHandler*)l2chnd_t__, TRUE, FALSE, FALSE},
    {"get_outputs_for_geom", mod_xrandr_get_outputs_for_geom, "t", "t", (ExtlL2CallHandler*)l2chnd_t_t__, TRUE, FALSE, FALSE},
    {NULL, NULL, NULL, NULL, NULL, FALSE, FALSE, FALSE}
};

bool mod_xrandr_register_exports()
{
    if(!extl_register_module("mod_xrandr", mod_xrandr_exports)) return FALSE;
    return TRUE;
}

void mod_xrandr_unregister_exports()
{
    extl_unregister_module("mod_xrandr", mod_xrandr_exports);
}

