2021-05-26 14:53:53 +01:00
|
|
|
#include "be_constobj.h"
|
|
|
|
|
|
|
|
static be_define_const_map_slots(m_libglobal_map) {
|
|
|
|
{ be_const_key(member, -1), be_const_func(m_findglobal) },
|
|
|
|
{ be_const_key(setmember, 0), be_const_func(m_setglobal) },
|
2021-12-09 18:37:00 +00:00
|
|
|
{ be_const_key(_X28_X29, -1), be_const_func(m_globals) },
|
2021-05-26 14:53:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
static be_define_const_map(
|
|
|
|
m_libglobal_map,
|
|
|
|
3
|
|
|
|
);
|
|
|
|
|
|
|
|
static be_define_const_module(
|
|
|
|
m_libglobal,
|
|
|
|
"global"
|
|
|
|
);
|
|
|
|
|
2021-10-23 14:08:33 +01:00
|
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(global);
|