/* 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_i_ii___(int (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    out[0].i=fn(in[0].i, in[1].i);
    return TRUE;
}
static bool l2chnd_i_i__(int (*fn)(), ExtlL2Param *in, ExtlL2Param *out)
{
    out[0].i=fn(in[0].i);
    return TRUE;
}

extern void mod_xkbevents_lock_modifiers();
extern void mod_xkbevents_lock_group();


static ExtlExportedFnSpec mod_xkbevents_exports[] = {
    {"lock_modifiers", mod_xkbevents_lock_modifiers, "ii", "i", (ExtlL2CallHandler*)l2chnd_i_ii___, FALSE, FALSE, FALSE},
    {"lock_group", mod_xkbevents_lock_group, "i", "i", (ExtlL2CallHandler*)l2chnd_i_i__, FALSE, FALSE, FALSE},
    {NULL, NULL, NULL, NULL, NULL, FALSE, FALSE, FALSE}
};

bool mod_xkbevents_register_exports()
{
    if(!extl_register_module("mod_xkbevents", mod_xkbevents_exports)) return FALSE;
    return TRUE;
}

void mod_xkbevents_unregister_exports()
{
    extl_unregister_module("mod_xkbevents", mod_xkbevents_exports);
}

