2021-04-28 18:30:19 +01:00
|
|
|
#include "be_constobj.h"
|
|
|
|
|
|
|
|
static be_define_const_map_slots(m_liblight_map) {
|
|
|
|
{ be_const_key(gamma8, 1), be_const_func(l_gamma8) },
|
|
|
|
{ be_const_key(get, -1), be_const_func(l_getlight) },
|
|
|
|
{ be_const_key(set, 4), be_const_func(l_setlight) },
|
|
|
|
{ be_const_key(gamma10, -1), be_const_func(l_gamma10) },
|
|
|
|
{ be_const_key(reverse_gamma10, -1), be_const_func(l_rev_gamma10) },
|
|
|
|
};
|
|
|
|
|
|
|
|
static be_define_const_map(
|
|
|
|
m_liblight_map,
|
|
|
|
5
|
|
|
|
);
|
|
|
|
|
|
|
|
static be_define_const_module(
|
|
|
|
m_liblight,
|
|
|
|
"light"
|
|
|
|
);
|
|
|
|
|
2021-10-23 14:08:33 +01:00
|
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(light);
|