2021-02-07 19:19:08 +00:00
|
|
|
#include "be_constobj.h"
|
|
|
|
|
|
|
|
static be_define_const_map_slots(m_libdebug_map) {
|
2021-02-28 19:50:37 +00:00
|
|
|
{ be_const_key(traceback, -1), be_const_func(m_traceback) },
|
2021-02-07 19:19:08 +00:00
|
|
|
{ be_const_key(codedump, -1), be_const_func(m_codedump) },
|
|
|
|
{ be_const_key(calldepth, -1), be_const_func(m_calldepth) },
|
2021-02-28 19:50:37 +00:00
|
|
|
{ be_const_key(top, -1), be_const_func(m_top) },
|
|
|
|
{ be_const_key(attrdump, 0), be_const_func(m_attrdump) },
|
2021-02-07 19:19:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static be_define_const_map(
|
|
|
|
m_libdebug_map,
|
2021-02-28 19:50:37 +00:00
|
|
|
5
|
2021-02-07 19:19:08 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static be_define_const_module(
|
|
|
|
m_libdebug,
|
|
|
|
"debug"
|
|
|
|
);
|
|
|
|
|
|
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(debug, NULL);
|