Tasmota/lib/libesp32/Berry/generate/be_fixed_introspect.h
s-hadinger 392d580a97
Berry add module `introspect` (#12728)
* Berry add module ``introspect``

* Rename `members`
2021-07-22 22:36:18 +02:00

20 lines
471 B
C

#include "be_constobj.h"
static be_define_const_map_slots(m_libintrospect_map) {
{ be_const_key(members, -1), be_const_func(m_attrlist) },
{ be_const_key(set, -1), be_const_func(m_setmember) },
{ be_const_key(get, -1), be_const_func(m_findmember) },
};
static be_define_const_map(
m_libintrospect_map,
3
);
static be_define_const_module(
m_libintrospect,
"introspect"
);
BE_EXPORT_VARIABLE be_define_const_native_module(introspect, NULL);