diff --git a/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lv.h b/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lv.h new file mode 100644 index 000000000..c8a8c84e7 --- /dev/null +++ b/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lv.h @@ -0,0 +1,59 @@ +/* Solidification of lv.h */ +/********************************************************************\ +* Generated code, don't edit * +\********************************************************************/ +#include "be_constobj.h" + +/******************************************************************** +** Solidified function: lv_module_init +********************************************************************/ +be_local_closure(lv_module_init, /* name */ + be_nested_proto( + 3, /* nstack */ + 1, /* argc */ + 0, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[12]) { /* constants */ + /* K0 */ be_nested_str_weak(lv), + /* K1 */ be_nested_str_weak(member), + /* K2 */ be_nested_str_weak(scr_act), + /* K3 */ be_nested_str_weak(screen_active), + /* K4 */ be_nested_str_weak(img), + /* K5 */ be_nested_str_weak(image), + /* K6 */ be_nested_str_weak(disp), + /* K7 */ be_nested_str_weak(display), + /* K8 */ be_nested_str_weak(btn), + /* K9 */ be_nested_str_weak(button), + /* K10 */ be_nested_str_weak(btnmatrix), + /* K11 */ be_nested_str_weak(buttonmatrix), + }), + be_str_weak(lv_module_init), + &be_const_str_solidified, + ( &(const binstruction[16]) { /* code */ + 0x6004000B, // 0000 GETGBL R1 G11 + 0x58080000, // 0001 LDCONST R2 K0 + 0x7C040200, // 0002 CALL R1 1 + 0x88080101, // 0003 GETMBR R2 R0 K1 + 0x90060202, // 0004 SETMBR R1 K1 R2 + 0x88080103, // 0005 GETMBR R2 R0 K3 + 0x90060402, // 0006 SETMBR R1 K2 R2 + 0x88080105, // 0007 GETMBR R2 R0 K5 + 0x90060802, // 0008 SETMBR R1 K4 R2 + 0x88080107, // 0009 GETMBR R2 R0 K7 + 0x90060C02, // 000A SETMBR R1 K6 R2 + 0x88080109, // 000B GETMBR R2 R0 K9 + 0x90061002, // 000C SETMBR R1 K8 R2 + 0x8808010B, // 000D GETMBR R2 R0 K11 + 0x90061402, // 000E SETMBR R1 K10 R2 + 0x80040200, // 000F RET 1 R1 + }) + ) +); +/*******************************************************************/ + +/********************************************************************/ +/* End of solidification */ diff --git a/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lvgl_extra.h b/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lvgl_extra.h new file mode 100644 index 000000000..9255abbd2 --- /dev/null +++ b/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lvgl_extra.h @@ -0,0 +1,687 @@ +/* Solidification of lvgl_extra.h */ +/********************************************************************\ +* Generated code, don't edit * +\********************************************************************/ +#include "be_constobj.h" + +extern const bclass be_class_lv_str_arr; + +/******************************************************************** +** Solidified function: init +********************************************************************/ +be_local_closure(class_lv_str_arr_init, /* name */ + be_nested_proto( + 11, /* nstack */ + 2, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 6]) { /* constants */ + /* K0 */ be_nested_str_weak(l), + /* K1 */ be_nested_str_weak(init), + /* K2 */ be_nested_str_weak(introspect), + /* K3 */ be_nested_str_weak(add), + /* K4 */ be_nested_str_weak(toptr), + /* K5 */ be_nested_str_weak(stop_iteration), + }), + be_str_weak(init), + &be_const_str_solidified, + ( &(const binstruction[31]) { /* code */ + 0x90020001, // 0000 SETMBR R0 K0 R1 + 0x60080003, // 0001 GETGBL R2 G3 + 0x5C0C0000, // 0002 MOVE R3 R0 + 0x7C080200, // 0003 CALL R2 1 + 0x8C080501, // 0004 GETMET R2 R2 K1 + 0x6010000C, // 0005 GETGBL R4 G12 + 0x5C140200, // 0006 MOVE R5 R1 + 0x7C100200, // 0007 CALL R4 1 + 0x54160003, // 0008 LDINT R5 4 + 0x08100805, // 0009 MUL R4 R4 R5 + 0x7C080400, // 000A CALL R2 2 + 0xA40A0400, // 000B IMPORT R2 K2 + 0x600C0010, // 000C GETGBL R3 G16 + 0x5C100200, // 000D MOVE R4 R1 + 0x7C0C0200, // 000E CALL R3 1 + 0xA802000A, // 000F EXBLK 0 #001B + 0x5C100600, // 0010 MOVE R4 R3 + 0x7C100000, // 0011 CALL R4 0 + 0x8C140103, // 0012 GETMET R5 R0 K3 + 0x601C0009, // 0013 GETGBL R7 G9 + 0x8C200504, // 0014 GETMET R8 R2 K4 + 0x5C280800, // 0015 MOVE R10 R4 + 0x7C200400, // 0016 CALL R8 2 + 0x7C1C0200, // 0017 CALL R7 1 + 0x54220003, // 0018 LDINT R8 4 + 0x7C140600, // 0019 CALL R5 3 + 0x7001FFF4, // 001A JMP #0010 + 0x580C0005, // 001B LDCONST R3 K5 + 0xAC0C0200, // 001C CATCH R3 1 0 + 0xB0080000, // 001D RAISE 2 R0 R0 + 0x80000000, // 001E RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified class: lv_str_arr +********************************************************************/ +extern const bclass be_class_bytes; +be_local_class(lv_str_arr, + 1, + &be_class_bytes, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(init, -1), be_const_closure(class_lv_str_arr_init_closure) }, + { be_const_key_weak(l, 0), be_const_var(0) }, + })), + be_str_weak(lv_str_arr) +); + +extern const bclass be_class_lv_int_arr; + +/******************************************************************** +** Solidified function: init +********************************************************************/ +be_local_closure(class_lv_int_arr_init, /* name */ + be_nested_proto( + 9, /* nstack */ + 3, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 8]) { /* constants */ + /* K0 */ be_nested_str_weak(instance), + /* K1 */ be_nested_str_weak(init), + /* K2 */ be_nested_str_weak(add), + /* K3 */ be_nested_str_weak(stop_iteration), + /* K4 */ be_nested_str_weak(ptr), + /* K5 */ be_nested_str_weak(int), + /* K6 */ be_nested_str_weak(value_error), + /* K7 */ be_nested_str_weak(argument_X20must_X20be_X20a_X20list_X20or_X20a_X20pointer_X2Bsize), + }), + be_str_weak(init), + &be_const_str_solidified, + ( &(const binstruction[58]) { /* code */ + 0x600C0004, // 0000 GETGBL R3 G4 + 0x5C100200, // 0001 MOVE R4 R1 + 0x7C0C0200, // 0002 CALL R3 1 + 0x1C0C0700, // 0003 EQ R3 R3 K0 + 0x780E001F, // 0004 JMPF R3 #0025 + 0x600C000F, // 0005 GETGBL R3 G15 + 0x5C100200, // 0006 MOVE R4 R1 + 0x60140012, // 0007 GETGBL R5 G18 + 0x7C0C0400, // 0008 CALL R3 2 + 0x780E001A, // 0009 JMPF R3 #0025 + 0x600C0003, // 000A GETGBL R3 G3 + 0x5C100000, // 000B MOVE R4 R0 + 0x7C0C0200, // 000C CALL R3 1 + 0x8C0C0701, // 000D GETMET R3 R3 K1 + 0x6014000C, // 000E GETGBL R5 G12 + 0x5C180200, // 000F MOVE R6 R1 + 0x7C140200, // 0010 CALL R5 1 + 0x541A0003, // 0011 LDINT R6 4 + 0x08140A06, // 0012 MUL R5 R5 R6 + 0x7C0C0400, // 0013 CALL R3 2 + 0x600C0010, // 0014 GETGBL R3 G16 + 0x5C100200, // 0015 MOVE R4 R1 + 0x7C0C0200, // 0016 CALL R3 1 + 0xA8020008, // 0017 EXBLK 0 #0021 + 0x5C100600, // 0018 MOVE R4 R3 + 0x7C100000, // 0019 CALL R4 0 + 0x8C140102, // 001A GETMET R5 R0 K2 + 0x601C0009, // 001B GETGBL R7 G9 + 0x5C200800, // 001C MOVE R8 R4 + 0x7C1C0200, // 001D CALL R7 1 + 0x54220003, // 001E LDINT R8 4 + 0x7C140600, // 001F CALL R5 3 + 0x7001FFF6, // 0020 JMP #0018 + 0x580C0003, // 0021 LDCONST R3 K3 + 0xAC0C0200, // 0022 CATCH R3 1 0 + 0xB0080000, // 0023 RAISE 2 R0 R0 + 0x70020013, // 0024 JMP #0039 + 0x600C0004, // 0025 GETGBL R3 G4 + 0x5C100200, // 0026 MOVE R4 R1 + 0x7C0C0200, // 0027 CALL R3 1 + 0x1C0C0704, // 0028 EQ R3 R3 K4 + 0x780E000D, // 0029 JMPF R3 #0038 + 0x600C0004, // 002A GETGBL R3 G4 + 0x5C100400, // 002B MOVE R4 R2 + 0x7C0C0200, // 002C CALL R3 1 + 0x1C0C0705, // 002D EQ R3 R3 K5 + 0x780E0008, // 002E JMPF R3 #0038 + 0x600C0003, // 002F GETGBL R3 G3 + 0x5C100000, // 0030 MOVE R4 R0 + 0x7C0C0200, // 0031 CALL R3 1 + 0x8C0C0701, // 0032 GETMET R3 R3 K1 + 0x5C140200, // 0033 MOVE R5 R1 + 0x541A0003, // 0034 LDINT R6 4 + 0x08180406, // 0035 MUL R6 R2 R6 + 0x7C0C0600, // 0036 CALL R3 3 + 0x70020000, // 0037 JMP #0039 + 0xB0060D07, // 0038 RAISE 1 K6 K7 + 0x80000000, // 0039 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: item +********************************************************************/ +be_local_closure(class_lv_int_arr_item, /* name */ + be_nested_proto( + 6, /* nstack */ + 2, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(get), + }), + be_str_weak(item), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0x8C080100, // 0000 GETMET R2 R0 K0 + 0x54120003, // 0001 LDINT R4 4 + 0x08100204, // 0002 MUL R4 R1 R4 + 0x54160003, // 0003 LDINT R5 4 + 0x7C080600, // 0004 CALL R2 3 + 0x80040400, // 0005 RET 1 R2 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: setitem +********************************************************************/ +be_local_closure(class_lv_int_arr_setitem, /* name */ + be_nested_proto( + 8, /* nstack */ + 3, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(set), + }), + be_str_weak(setitem), + &be_const_str_solidified, + ( &(const binstruction[ 7]) { /* code */ + 0x8C0C0100, // 0000 GETMET R3 R0 K0 + 0x54160003, // 0001 LDINT R5 4 + 0x08140205, // 0002 MUL R5 R1 R5 + 0x5C180400, // 0003 MOVE R6 R2 + 0x541E0003, // 0004 LDINT R7 4 + 0x7C0C0800, // 0005 CALL R3 4 + 0x80000000, // 0006 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified class: lv_int_arr +********************************************************************/ +extern const bclass be_class_bytes; +be_local_class(lv_int_arr, + 0, + &be_class_bytes, + be_nested_map(3, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(init, -1), be_const_closure(class_lv_int_arr_init_closure) }, + { be_const_key_weak(item, -1), be_const_closure(class_lv_int_arr_item_closure) }, + { be_const_key_weak(setitem, -1), be_const_closure(class_lv_int_arr_setitem_closure) }, + })), + be_str_weak(lv_int_arr) +); + +extern const bclass be_class_lv_point_arr; + +/******************************************************************** +** Solidified function: init +********************************************************************/ +be_local_closure(class_lv_point_arr_init, /* name */ + be_nested_proto( + 8, /* nstack */ + 2, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[11]) { /* constants */ + /* K0 */ be_nested_str_weak(instance), + /* K1 */ be_nested_str_weak(value_error), + /* K2 */ be_nested_str_weak(argument_X20must_X20be_X20a_X20list), + /* K3 */ be_nested_str_weak(init), + /* K4 */ be_nested_str_weak(lv), + /* K5 */ be_nested_str_weak(lv_point), + /* K6 */ be_nested_str_weak(elements_X20must_X20be_X20a_X20lv_point), + /* K7 */ be_nested_str_weak(add), + /* K8 */ be_nested_str_weak(x), + /* K9 */ be_nested_str_weak(y), + /* K10 */ be_nested_str_weak(stop_iteration), + }), + be_str_weak(init), + &be_const_str_solidified, + ( &(const binstruction[52]) { /* code */ + 0x60080004, // 0000 GETGBL R2 G4 + 0x5C0C0200, // 0001 MOVE R3 R1 + 0x7C080200, // 0002 CALL R2 1 + 0x20080500, // 0003 NE R2 R2 K0 + 0x740A0004, // 0004 JMPT R2 #000A + 0x6008000F, // 0005 GETGBL R2 G15 + 0x5C0C0200, // 0006 MOVE R3 R1 + 0x60100012, // 0007 GETGBL R4 G18 + 0x7C080400, // 0008 CALL R2 2 + 0x740A0000, // 0009 JMPT R2 #000B + 0xB0060302, // 000A RAISE 1 K1 K2 + 0x60080003, // 000B GETGBL R2 G3 + 0x5C0C0000, // 000C MOVE R3 R0 + 0x7C080200, // 000D CALL R2 1 + 0x8C080503, // 000E GETMET R2 R2 K3 + 0x6010000C, // 000F GETGBL R4 G12 + 0x5C140200, // 0010 MOVE R5 R1 + 0x7C100200, // 0011 CALL R4 1 + 0x54160007, // 0012 LDINT R5 8 + 0x08100805, // 0013 MUL R4 R4 R5 + 0x7C080400, // 0014 CALL R2 2 + 0x60080010, // 0015 GETGBL R2 G16 + 0x5C0C0200, // 0016 MOVE R3 R1 + 0x7C080200, // 0017 CALL R2 1 + 0xA8020016, // 0018 EXBLK 0 #0030 + 0x5C0C0400, // 0019 MOVE R3 R2 + 0x7C0C0000, // 001A CALL R3 0 + 0x60100004, // 001B GETGBL R4 G4 + 0x5C140600, // 001C MOVE R5 R3 + 0x7C100200, // 001D CALL R4 1 + 0x20100900, // 001E NE R4 R4 K0 + 0x74120005, // 001F JMPT R4 #0026 + 0x6010000F, // 0020 GETGBL R4 G15 + 0x5C140600, // 0021 MOVE R5 R3 + 0xB81A0800, // 0022 GETNGBL R6 K4 + 0x88180D05, // 0023 GETMBR R6 R6 K5 + 0x7C100400, // 0024 CALL R4 2 + 0x74120000, // 0025 JMPT R4 #0027 + 0xB0060306, // 0026 RAISE 1 K1 K6 + 0x8C100107, // 0027 GETMET R4 R0 K7 + 0x88180708, // 0028 GETMBR R6 R3 K8 + 0x541E0003, // 0029 LDINT R7 4 + 0x7C100600, // 002A CALL R4 3 + 0x8C100107, // 002B GETMET R4 R0 K7 + 0x88180709, // 002C GETMBR R6 R3 K9 + 0x541E0003, // 002D LDINT R7 4 + 0x7C100600, // 002E CALL R4 3 + 0x7001FFE8, // 002F JMP #0019 + 0x5808000A, // 0030 LDCONST R2 K10 + 0xAC080200, // 0031 CATCH R2 1 0 + 0xB0080000, // 0032 RAISE 2 R0 R0 + 0x80000000, // 0033 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified class: lv_point_arr +********************************************************************/ +extern const bclass be_class_bytes; +be_local_class(lv_point_arr, + 0, + &be_class_bytes, + be_nested_map(1, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(init, -1), be_const_closure(class_lv_point_arr_init_closure) }, + })), + be_str_weak(lv_point_arr) +); + +/******************************************************************** +** Solidified function: _anonymous_ +********************************************************************/ +be_local_closure(_anonymous_, /* name */ + be_nested_proto( + 4, /* nstack */ + 1, /* argc */ + 0, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[12]) { /* constants */ + /* K0 */ be_nested_str_weak(global), + /* K1 */ be_nested_str_weak(lv), + /* K2 */ be_nested_str_weak(lv_coord_arr), + /* K3 */ be_nested_str_weak(lv_int_arr), + /* K4 */ be_nested_str_weak(lv_point_arr), + /* K5 */ be_nested_str_weak(coord_arr), + /* K6 */ be_nested_str_weak(int_arr), + /* K7 */ be_nested_str_weak(point_arr), + /* K8 */ be_nested_str_weak(style_prop_arr), + /* K9 */ be_nested_str_weak(lv_style_prop_arr), + /* K10 */ be_nested_str_weak(str_arr), + /* K11 */ be_nested_str_weak(lv_str_arr), + }), + be_str_weak(_anonymous_), + &be_const_str_solidified, + ( &(const binstruction[19]) { /* code */ + 0xA4060000, // 0000 IMPORT R1 K0 + 0x88080301, // 0001 GETMBR R2 R1 K1 + 0x880C0102, // 0002 GETMBR R3 R0 K2 + 0x900A0403, // 0003 SETMBR R2 K2 R3 + 0x880C0103, // 0004 GETMBR R3 R0 K3 + 0x900A0603, // 0005 SETMBR R2 K3 R3 + 0x880C0104, // 0006 GETMBR R3 R0 K4 + 0x900A0803, // 0007 SETMBR R2 K4 R3 + 0x880C0102, // 0008 GETMBR R3 R0 K2 + 0x900A0A03, // 0009 SETMBR R2 K5 R3 + 0x880C0103, // 000A GETMBR R3 R0 K3 + 0x900A0C03, // 000B SETMBR R2 K6 R3 + 0x880C0104, // 000C GETMBR R3 R0 K4 + 0x900A0E03, // 000D SETMBR R2 K7 R3 + 0x880C0109, // 000E GETMBR R3 R0 K9 + 0x900A1003, // 000F SETMBR R2 K8 R3 + 0x880C010B, // 0010 GETMBR R3 R0 K11 + 0x900A1403, // 0011 SETMBR R2 K10 R3 + 0x80040000, // 0012 RET 1 R0 + }) + ) +); +/*******************************************************************/ + + +extern const bclass be_class_lv_style_prop_arr; + +/******************************************************************** +** Solidified function: init +********************************************************************/ +be_local_closure(class_lv_style_prop_arr_init, /* name */ + be_nested_proto( + 8, /* nstack */ + 2, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 6]) { /* constants */ + /* K0 */ be_nested_str_weak(instance), + /* K1 */ be_nested_str_weak(value_error), + /* K2 */ be_nested_str_weak(argument_X20must_X20be_X20a_X20list), + /* K3 */ be_nested_str_weak(init), + /* K4 */ be_nested_str_weak(add), + /* K5 */ be_nested_str_weak(stop_iteration), + }), + be_str_weak(init), + &be_const_str_solidified, + ( &(const binstruction[38]) { /* code */ + 0x60080004, // 0000 GETGBL R2 G4 + 0x5C0C0200, // 0001 MOVE R3 R1 + 0x7C080200, // 0002 CALL R2 1 + 0x20080500, // 0003 NE R2 R2 K0 + 0x740A0004, // 0004 JMPT R2 #000A + 0x6008000F, // 0005 GETGBL R2 G15 + 0x5C0C0200, // 0006 MOVE R3 R1 + 0x60100012, // 0007 GETGBL R4 G18 + 0x7C080400, // 0008 CALL R2 2 + 0x740A0000, // 0009 JMPT R2 #000B + 0xB0060302, // 000A RAISE 1 K1 K2 + 0x60080003, // 000B GETGBL R2 G3 + 0x5C0C0000, // 000C MOVE R3 R0 + 0x7C080200, // 000D CALL R2 1 + 0x8C080503, // 000E GETMET R2 R2 K3 + 0x6010000C, // 000F GETGBL R4 G12 + 0x5C140200, // 0010 MOVE R5 R1 + 0x7C100200, // 0011 CALL R4 1 + 0x54160003, // 0012 LDINT R5 4 + 0x08100805, // 0013 MUL R4 R4 R5 + 0x7C080400, // 0014 CALL R2 2 + 0x60080010, // 0015 GETGBL R2 G16 + 0x5C0C0200, // 0016 MOVE R3 R1 + 0x7C080200, // 0017 CALL R2 1 + 0xA8020008, // 0018 EXBLK 0 #0022 + 0x5C0C0400, // 0019 MOVE R3 R2 + 0x7C0C0000, // 001A CALL R3 0 + 0x8C100104, // 001B GETMET R4 R0 K4 + 0x60180009, // 001C GETGBL R6 G9 + 0x5C1C0600, // 001D MOVE R7 R3 + 0x7C180200, // 001E CALL R6 1 + 0x541E0003, // 001F LDINT R7 4 + 0x7C100600, // 0020 CALL R4 3 + 0x7001FFF6, // 0021 JMP #0019 + 0x58080005, // 0022 LDCONST R2 K5 + 0xAC080200, // 0023 CATCH R2 1 0 + 0xB0080000, // 0024 RAISE 2 R0 R0 + 0x80000000, // 0025 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified class: lv_style_prop_arr +********************************************************************/ +extern const bclass be_class_bytes; +be_local_class(lv_style_prop_arr, + 0, + &be_class_bytes, + be_nested_map(1, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(init, -1), be_const_closure(class_lv_style_prop_arr_init_closure) }, + })), + be_str_weak(lv_style_prop_arr) +); + +extern const bclass be_class_lv_coord_arr; + +/******************************************************************** +** Solidified function: init +********************************************************************/ +be_local_closure(class_lv_coord_arr_init, /* name */ + be_nested_proto( + 9, /* nstack */ + 3, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 8]) { /* constants */ + /* K0 */ be_nested_str_weak(instance), + /* K1 */ be_nested_str_weak(init), + /* K2 */ be_nested_str_weak(add), + /* K3 */ be_nested_str_weak(stop_iteration), + /* K4 */ be_nested_str_weak(ptr), + /* K5 */ be_nested_str_weak(int), + /* K6 */ be_nested_str_weak(value_error), + /* K7 */ be_nested_str_weak(argument_X20must_X20be_X20a_X20list_X20or_X20a_X20pointer_X2Bsize), + }), + be_str_weak(init), + &be_const_str_solidified, + ( &(const binstruction[58]) { /* code */ + 0x600C0004, // 0000 GETGBL R3 G4 + 0x5C100200, // 0001 MOVE R4 R1 + 0x7C0C0200, // 0002 CALL R3 1 + 0x1C0C0700, // 0003 EQ R3 R3 K0 + 0x780E001F, // 0004 JMPF R3 #0025 + 0x600C000F, // 0005 GETGBL R3 G15 + 0x5C100200, // 0006 MOVE R4 R1 + 0x60140012, // 0007 GETGBL R5 G18 + 0x7C0C0400, // 0008 CALL R3 2 + 0x780E001A, // 0009 JMPF R3 #0025 + 0x600C0003, // 000A GETGBL R3 G3 + 0x5C100000, // 000B MOVE R4 R0 + 0x7C0C0200, // 000C CALL R3 1 + 0x8C0C0701, // 000D GETMET R3 R3 K1 + 0x6014000C, // 000E GETGBL R5 G12 + 0x5C180200, // 000F MOVE R6 R1 + 0x7C140200, // 0010 CALL R5 1 + 0x541A0003, // 0011 LDINT R6 4 + 0x08140A06, // 0012 MUL R5 R5 R6 + 0x7C0C0400, // 0013 CALL R3 2 + 0x600C0010, // 0014 GETGBL R3 G16 + 0x5C100200, // 0015 MOVE R4 R1 + 0x7C0C0200, // 0016 CALL R3 1 + 0xA8020008, // 0017 EXBLK 0 #0021 + 0x5C100600, // 0018 MOVE R4 R3 + 0x7C100000, // 0019 CALL R4 0 + 0x8C140102, // 001A GETMET R5 R0 K2 + 0x601C0009, // 001B GETGBL R7 G9 + 0x5C200800, // 001C MOVE R8 R4 + 0x7C1C0200, // 001D CALL R7 1 + 0x54220003, // 001E LDINT R8 4 + 0x7C140600, // 001F CALL R5 3 + 0x7001FFF6, // 0020 JMP #0018 + 0x580C0003, // 0021 LDCONST R3 K3 + 0xAC0C0200, // 0022 CATCH R3 1 0 + 0xB0080000, // 0023 RAISE 2 R0 R0 + 0x70020013, // 0024 JMP #0039 + 0x600C0004, // 0025 GETGBL R3 G4 + 0x5C100200, // 0026 MOVE R4 R1 + 0x7C0C0200, // 0027 CALL R3 1 + 0x1C0C0704, // 0028 EQ R3 R3 K4 + 0x780E000D, // 0029 JMPF R3 #0038 + 0x600C0004, // 002A GETGBL R3 G4 + 0x5C100400, // 002B MOVE R4 R2 + 0x7C0C0200, // 002C CALL R3 1 + 0x1C0C0705, // 002D EQ R3 R3 K5 + 0x780E0008, // 002E JMPF R3 #0038 + 0x600C0003, // 002F GETGBL R3 G3 + 0x5C100000, // 0030 MOVE R4 R0 + 0x7C0C0200, // 0031 CALL R3 1 + 0x8C0C0701, // 0032 GETMET R3 R3 K1 + 0x5C140200, // 0033 MOVE R5 R1 + 0x541A0003, // 0034 LDINT R6 4 + 0x08180406, // 0035 MUL R6 R2 R6 + 0x7C0C0600, // 0036 CALL R3 3 + 0x70020000, // 0037 JMP #0039 + 0xB0060D07, // 0038 RAISE 1 K6 K7 + 0x80000000, // 0039 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: item +********************************************************************/ +be_local_closure(class_lv_coord_arr_item, /* name */ + be_nested_proto( + 6, /* nstack */ + 2, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(get), + }), + be_str_weak(item), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0x8C080100, // 0000 GETMET R2 R0 K0 + 0x54120003, // 0001 LDINT R4 4 + 0x08100204, // 0002 MUL R4 R1 R4 + 0x54160003, // 0003 LDINT R5 4 + 0x7C080600, // 0004 CALL R2 3 + 0x80040400, // 0005 RET 1 R2 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: setitem +********************************************************************/ +be_local_closure(class_lv_coord_arr_setitem, /* name */ + be_nested_proto( + 8, /* nstack */ + 3, /* argc */ + 2, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(set), + }), + be_str_weak(setitem), + &be_const_str_solidified, + ( &(const binstruction[ 7]) { /* code */ + 0x8C0C0100, // 0000 GETMET R3 R0 K0 + 0x54160003, // 0001 LDINT R5 4 + 0x08140205, // 0002 MUL R5 R1 R5 + 0x5C180400, // 0003 MOVE R6 R2 + 0x541E0003, // 0004 LDINT R7 4 + 0x7C0C0800, // 0005 CALL R3 4 + 0x80000000, // 0006 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified class: lv_coord_arr +********************************************************************/ +extern const bclass be_class_bytes; +be_local_class(lv_coord_arr, + 0, + &be_class_bytes, + be_nested_map(3, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(init, -1), be_const_closure(class_lv_coord_arr_init_closure) }, + { be_const_key_weak(item, -1), be_const_closure(class_lv_coord_arr_item_closure) }, + { be_const_key_weak(setitem, -1), be_const_closure(class_lv_coord_arr_setitem_closure) }, + })), + be_str_weak(lv_coord_arr) +); + +/******************************************************************** +** Solidified module: lv_extra +********************************************************************/ +be_local_module(lv_extra, + "lv_extra", + be_nested_map(6, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(lv_coord_arr, 4), be_const_class(be_class_lv_coord_arr) }, + { be_const_key_weak(lv_int_arr, -1), be_const_class(be_class_lv_int_arr) }, + { be_const_key_weak(lv_point_arr, -1), be_const_class(be_class_lv_point_arr) }, + { be_const_key_weak(init, -1), be_const_closure(_anonymous__closure) }, + { be_const_key_weak(lv_style_prop_arr, -1), be_const_class(be_class_lv_style_prop_arr) }, + { be_const_key_weak(lv_str_arr, 0), be_const_class(be_class_lv_str_arr) }, + })) +); +BE_EXPORT_VARIABLE be_define_const_native_module(lv_extra); +/********************************************************************/ +/********************************************************************/ +/* End of solidification */ diff --git a/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lvgl_glob.h b/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lvgl_glob.h new file mode 100644 index 000000000..d2bf5ca7c --- /dev/null +++ b/lib/libesp32_lvgl/lv_binding_berry/src/berry_lvgl/solidified_lvgl_glob.h @@ -0,0 +1,1189 @@ +/* Solidification of lvgl_glob.h */ +/********************************************************************\ +* Generated code, don't edit * +\********************************************************************/ +#include "be_constobj.h" +// compact class 'LVGL_glob' ktab size: 72, total: 131 (saved 472 bytes) +static const bvalue be_ktab_class_LVGL_glob[72] = { + /* K0 */ be_nested_str_weak(event_cb), + /* K1 */ be_nested_str_weak(cb), + /* K2 */ be_nested_str_weak(gen_cb), + /* K3 */ be_nested_str_weak(push), + /* K4 */ be_nested_str_weak(stop_iteration), + /* K5 */ be_nested_str_weak(cb_event_closure), + /* K6 */ be_nested_str_weak(contains), + /* K7 */ be_nested_str_weak(function), + /* K8 */ be_const_int(1), + /* K9 */ be_const_int(0), + /* K10 */ be_nested_str_weak(lv_event_cb), + /* K11 */ be_nested_str_weak(register_obj), + /* K12 */ be_nested_str_weak(add_event_cb), + /* K13 */ be_nested_str_weak(lv), + /* K14 */ be_nested_str_weak(EVENT_DELETE), + /* K15 */ be_nested_str_weak(add_cb_event_closure), + /* K16 */ be_nested_str_weak(_p), + /* K17 */ be_nested_str_weak(get_event_cb), + /* K18 */ be_nested_str_weak(lv_timer_cb), + /* K19 */ be_nested_str_weak(timer_cb), + /* K20 */ be_const_int(2), + /* K21 */ be_nested_str_weak(lv_), + /* K22 */ be_nested_str_weak(null_cb), + /* K23 */ be_nested_str_weak(cb_do_nothing), + /* K24 */ be_nested_str_weak(introspect), + /* K25 */ be_nested_str_weak(toptr), + /* K26 */ be_nested_str_weak(event), + /* K27 */ be_nested_str_weak(lv_event), + /* K28 */ be_nested_str_weak(get_target), + /* K29 */ be_nested_str_weak(get_object_from_ptr), + /* K30 */ be_nested_str_weak(cb_obj), + /* K31 */ be_nested_str_weak(remove), + /* K32 */ be_nested_str_weak(lv_obj_class), + /* K33 */ be_nested_str_weak(get_target_obj), + /* K34 */ be_nested_str_weak(instance), + /* K35 */ be_nested_str_weak(get_code), + /* K36 */ be_nested_str_weak(get), + /* K37 */ be_nested_str_weak(before_del), + /* K38 */ be_nested_str_weak(widget_event), + /* K39 */ be_nested_str_weak(widget_destructor), + /* K40 */ be_nested_str_weak(find), + /* K41 */ be_nested_str_weak(widget_constructor), + /* K42 */ be_nested_str_weak(LVG_X3A_X20call_X20to_X20unsupported_X20callback), + /* K43 */ be_nested_str_weak(add_handler), + /* K44 */ be_nested_str_weak(lv_extra), + /* K45 */ be_nested_str_weak(lv_obj), + /* K46 */ be_nested_str_weak(value_error), + /* K47 */ be_nested_str_weak(arg_X20must_X20be_X20a_X20subclass_X20of_X20lv_obj), + /* K48 */ be_nested_str_weak(widget_struct_by_class), + /* K49 */ be_nested_str_weak(widget_cb), + /* K50 */ be_nested_str_weak(widget_struct_default), + /* K51 */ be_nested_str_weak(copy), + /* K52 */ be_nested_str_weak(base_class), + /* K53 */ be_nested_str_weak(_class), + /* K54 */ be_nested_str_weak(widget_width_def), + /* K55 */ be_nested_str_weak(width_def), + /* K56 */ be_nested_str_weak(widget_height_def), + /* K57 */ be_nested_str_weak(height_def), + /* K58 */ be_nested_str_weak(widget_editable), + /* K59 */ be_nested_str_weak(editable), + /* K60 */ be_nested_str_weak(widget_group_def), + /* K61 */ be_nested_str_weak(group_def), + /* K62 */ be_nested_str_weak(widget_instance_size), + /* K63 */ be_nested_str_weak(instance_size), + /* K64 */ be_nested_str_weak(obj_class_create_obj), + /* K65 */ be_nested_str_weak(class_init_obj), + /* K66 */ be_nested_str_weak(widget_ctor_cb), + /* K67 */ be_nested_str_weak(widget_dtor_cb), + /* K68 */ be_nested_str_weak(widget_event_cb), + /* K69 */ be_nested_str_weak(constructor_cb), + /* K70 */ be_nested_str_weak(destructor_cb), + /* K71 */ be_nested_str_weak(deregister_obj), +}; + + +extern const bclass be_class_LVGL_glob; + +/******************************************************************** +** Solidified function: get_event_cb +********************************************************************/ +be_local_closure(class_LVGL_glob_get_event_cb, /* name */ + be_nested_proto( + 9, /* nstack */ + 2, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 1, /* has sup protos */ + ( &(const struct bproto*[ 1]) { + be_nested_proto( + 5, /* nstack */ + 1, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 2]) { /* upvals */ + be_local_const_upval(1, 0), + be_local_const_upval(1, 4), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(lvgl_event_dispatch), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0x68040000, // 0000 GETUPV R1 U0 + 0x8C040300, // 0001 GETMET R1 R1 K0 + 0x680C0001, // 0002 GETUPV R3 U1 + 0x5C100000, // 0003 MOVE R4 R0 + 0x7C040600, // 0004 CALL R1 3 + 0x80040200, // 0005 RET 1 R1 + }) + ), + }), + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(get_event_cb), + &be_const_str_solidified, + ( &(const binstruction[32]) { /* code */ + 0x88080100, // 0000 GETMBR R2 R0 K0 + 0x4C0C0000, // 0001 LDNIL R3 + 0x1C080403, // 0002 EQ R2 R2 R3 + 0x780A0002, // 0003 JMPF R2 #0007 + 0x60080012, // 0004 GETGBL R2 G18 + 0x7C080000, // 0005 CALL R2 0 + 0x90020002, // 0006 SETMBR R0 K0 R2 + 0x88080100, // 0007 GETMBR R2 R0 K0 + 0x600C0010, // 0008 GETGBL R3 G16 + 0x6010000C, // 0009 GETGBL R4 G12 + 0x5C140400, // 000A MOVE R5 R2 + 0x7C100200, // 000B CALL R4 1 + 0x40100801, // 000C CONNECT R4 R4 R1 + 0x7C0C0200, // 000D CALL R3 1 + 0xA802000A, // 000E EXBLK 0 #001A + 0x5C100600, // 000F MOVE R4 R3 + 0x7C100000, // 0010 CALL R4 0 + 0xB8160200, // 0011 GETNGBL R5 K1 + 0x8C140B02, // 0012 GETMET R5 R5 K2 + 0x841C0000, // 0013 CLOSURE R7 P0 + 0x7C140400, // 0014 CALL R5 2 + 0x8C180503, // 0015 GETMET R6 R2 K3 + 0x5C200A00, // 0016 MOVE R8 R5 + 0x7C180400, // 0017 CALL R6 2 + 0xA00C0000, // 0018 CLOSE R3 + 0x7001FFF4, // 0019 JMP #000F + 0x580C0004, // 001A LDCONST R3 K4 + 0xAC0C0200, // 001B CATCH R3 1 0 + 0xB0080000, // 001C RAISE 2 R0 R0 + 0x940C0401, // 001D GETIDX R3 R2 R1 + 0xA0000000, // 001E CLOSE R0 + 0x80040600, // 001F RET 1 R3 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: add_cb_event_closure +********************************************************************/ +be_local_closure(class_LVGL_glob_add_cb_event_closure, /* name */ + be_nested_proto( + 7, /* nstack */ + 3, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(add_cb_event_closure), + &be_const_str_solidified, + ( &(const binstruction[43]) { /* code */ + 0x880C0105, // 0000 GETMBR R3 R0 K5 + 0x4C100000, // 0001 LDNIL R4 + 0x1C0C0604, // 0002 EQ R3 R3 R4 + 0x780E0002, // 0003 JMPF R3 #0007 + 0x600C0013, // 0004 GETGBL R3 G19 + 0x7C0C0000, // 0005 CALL R3 0 + 0x90020A03, // 0006 SETMBR R0 K5 R3 + 0x880C0105, // 0007 GETMBR R3 R0 K5 + 0x8C0C0706, // 0008 GETMET R3 R3 K6 + 0x5C140200, // 0009 MOVE R5 R1 + 0x7C0C0400, // 000A CALL R3 2 + 0x780E001A, // 000B JMPF R3 #0027 + 0x880C0105, // 000C GETMBR R3 R0 K5 + 0x940C0601, // 000D GETIDX R3 R3 R1 + 0x60100004, // 000E GETGBL R4 G4 + 0x5C140600, // 000F MOVE R5 R3 + 0x7C100200, // 0010 CALL R4 1 + 0x1C100907, // 0011 EQ R4 R4 K7 + 0x78120007, // 0012 JMPF R4 #001B + 0x88100105, // 0013 GETMBR R4 R0 K5 + 0x60140012, // 0014 GETGBL R5 G18 + 0x7C140000, // 0015 CALL R5 0 + 0x40180A03, // 0016 CONNECT R6 R5 R3 + 0x40180A02, // 0017 CONNECT R6 R5 R2 + 0x98100205, // 0018 SETIDX R4 R1 R5 + 0x80061000, // 0019 RET 1 K8 + 0x7002000A, // 001A JMP #0026 + 0x88100105, // 001B GETMBR R4 R0 K5 + 0x94100801, // 001C GETIDX R4 R4 R1 + 0x8C100903, // 001D GETMET R4 R4 K3 + 0x5C180400, // 001E MOVE R6 R2 + 0x7C100400, // 001F CALL R4 2 + 0x6010000C, // 0020 GETGBL R4 G12 + 0x88140105, // 0021 GETMBR R5 R0 K5 + 0x94140A01, // 0022 GETIDX R5 R5 R1 + 0x7C100200, // 0023 CALL R4 1 + 0x04100908, // 0024 SUB R4 R4 K8 + 0x80040800, // 0025 RET 1 R4 + 0x70020002, // 0026 JMP #002A + 0x880C0105, // 0027 GETMBR R3 R0 K5 + 0x980C0202, // 0028 SETIDX R3 R1 R2 + 0x80061200, // 0029 RET 1 K9 + 0x80000000, // 002A RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: make_cb +********************************************************************/ +be_local_closure(class_LVGL_glob_make_cb, /* name */ + be_nested_proto( + 11, /* nstack */ + 4, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 1, /* has sup protos */ + ( &(const struct bproto*[ 2]) { + be_nested_proto( + 4, /* nstack */ + 1, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 1]) { /* upvals */ + be_local_const_upval(1, 0), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(remove_cb), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 5]) { /* code */ + 0x68040000, // 0000 GETUPV R1 U0 + 0x8C040300, // 0001 GETMET R1 R1 K0 + 0x5C0C0000, // 0002 MOVE R3 R0 + 0x7C040400, // 0003 CALL R1 2 + 0x80040200, // 0004 RET 1 R1 + }) + ), + be_nested_proto( + 4, /* nstack */ + 1, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 1]) { /* upvals */ + be_local_const_upval(1, 0), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(lvgl_timer_dispatch), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 5]) { /* code */ + 0x68040000, // 0000 GETUPV R1 U0 + 0x8C040300, // 0001 GETMET R1 R1 K0 + 0x5C0C0000, // 0002 MOVE R3 R0 + 0x7C040400, // 0003 CALL R1 2 + 0x80040200, // 0004 RET 1 R1 + }) + ), + }), + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(make_cb), + &be_const_str_solidified, + ( &(const binstruction[70]) { /* code */ + 0x4C100000, // 0000 LDNIL R4 + 0x1C100604, // 0001 EQ R4 R3 R4 + 0x78120001, // 0002 JMPF R4 #0005 + 0x4C100000, // 0003 LDNIL R4 + 0x80040800, // 0004 RET 1 R4 + 0xA4120200, // 0005 IMPORT R4 K1 + 0x1C14070A, // 0006 EQ R5 R3 K10 + 0x78160016, // 0007 JMPF R5 #001F + 0x8C14010B, // 0008 GETMET R5 R0 K11 + 0x5C1C0400, // 0009 MOVE R7 R2 + 0x7C140400, // 000A CALL R5 2 + 0x78160000, // 000B JMPF R5 #000D + 0x50140001, // 000C LDBOOL R5 0 1 + 0x50140200, // 000D LDBOOL R5 1 0 + 0x78160005, // 000E JMPF R5 #0015 + 0x8C18050C, // 000F GETMET R6 R2 K12 + 0x84200000, // 0010 CLOSURE R8 P0 + 0xB8261A00, // 0011 GETNGBL R9 K13 + 0x8824130E, // 0012 GETMBR R9 R9 K14 + 0x58280009, // 0013 LDCONST R10 K9 + 0x7C180800, // 0014 CALL R6 4 + 0x8C18010F, // 0015 GETMET R6 R0 K15 + 0x88200510, // 0016 GETMBR R8 R2 K16 + 0x5C240200, // 0017 MOVE R9 R1 + 0x7C180600, // 0018 CALL R6 3 + 0x8C1C0111, // 0019 GETMET R7 R0 K17 + 0x5C240C00, // 001A MOVE R9 R6 + 0x7C1C0400, // 001B CALL R7 2 + 0xA0000000, // 001C CLOSE R0 + 0x80040E00, // 001D RET 1 R7 + 0x70020024, // 001E JMP #0044 + 0x1C140712, // 001F EQ R5 R3 K18 + 0x7816000F, // 0020 JMPF R5 #0031 + 0x88140113, // 0021 GETMBR R5 R0 K19 + 0x4C180000, // 0022 LDNIL R6 + 0x1C140A06, // 0023 EQ R5 R5 R6 + 0x78160003, // 0024 JMPF R5 #0029 + 0x8C140902, // 0025 GETMET R5 R4 K2 + 0x841C0001, // 0026 CLOSURE R7 P1 + 0x7C140400, // 0027 CALL R5 2 + 0x90022605, // 0028 SETMBR R0 K19 R5 + 0x8C14010F, // 0029 GETMET R5 R0 K15 + 0x881C0510, // 002A GETMBR R7 R2 K16 + 0x5C200200, // 002B MOVE R8 R1 + 0x7C140600, // 002C CALL R5 3 + 0x88140113, // 002D GETMBR R5 R0 K19 + 0xA0000000, // 002E CLOSE R0 + 0x80040A00, // 002F RET 1 R5 + 0x70020012, // 0030 JMP #0044 + 0x40161314, // 0031 CONNECT R5 K9 K20 + 0x94140605, // 0032 GETIDX R5 R3 R5 + 0x1C140B15, // 0033 EQ R5 R5 K21 + 0x7816000B, // 0034 JMPF R5 #0041 + 0x88140116, // 0035 GETMBR R5 R0 K22 + 0x4C180000, // 0036 LDNIL R6 + 0x1C140A06, // 0037 EQ R5 R5 R6 + 0x78160003, // 0038 JMPF R5 #003D + 0x8C140902, // 0039 GETMET R5 R4 K2 + 0x881C0117, // 003A GETMBR R7 R0 K23 + 0x7C140400, // 003B CALL R5 2 + 0x90022C05, // 003C SETMBR R0 K22 R5 + 0x88140116, // 003D GETMBR R5 R0 K22 + 0xA0000000, // 003E CLOSE R0 + 0x80040A00, // 003F RET 1 R5 + 0x70020002, // 0040 JMP #0044 + 0x4C140000, // 0041 LDNIL R5 + 0xA0000000, // 0042 CLOSE R0 + 0x80040A00, // 0043 RET 1 R5 + 0xA0000000, // 0044 CLOSE R0 + 0x80000000, // 0045 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: lvgl_timer_dispatch +********************************************************************/ +be_local_closure(class_LVGL_glob_lvgl_timer_dispatch, /* name */ + be_nested_proto( + 8, /* nstack */ + 2, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(lvgl_timer_dispatch), + &be_const_str_solidified, + ( &(const binstruction[27]) { /* code */ + 0xA40A3000, // 0000 IMPORT R2 K24 + 0x8C0C0519, // 0001 GETMET R3 R2 K25 + 0x5C140200, // 0002 MOVE R5 R1 + 0x7C0C0400, // 0003 CALL R3 2 + 0x88100105, // 0004 GETMBR R4 R0 K5 + 0x94100803, // 0005 GETIDX R4 R4 R3 + 0x60140004, // 0006 GETGBL R5 G4 + 0x5C180800, // 0007 MOVE R6 R4 + 0x7C140200, // 0008 CALL R5 1 + 0x1C140B07, // 0009 EQ R5 R5 K7 + 0x78160003, // 000A JMPF R5 #000F + 0x5C140800, // 000B MOVE R5 R4 + 0x5C180600, // 000C MOVE R6 R3 + 0x7C140200, // 000D CALL R5 1 + 0x7002000A, // 000E JMP #001A + 0x58140009, // 000F LDCONST R5 K9 + 0x6018000C, // 0010 GETGBL R6 G12 + 0x5C1C0800, // 0011 MOVE R7 R4 + 0x7C180200, // 0012 CALL R6 1 + 0x14180A06, // 0013 LT R6 R5 R6 + 0x781A0004, // 0014 JMPF R6 #001A + 0x94180805, // 0015 GETIDX R6 R4 R5 + 0x5C1C0600, // 0016 MOVE R7 R3 + 0x7C180200, // 0017 CALL R6 1 + 0x00140B08, // 0018 ADD R5 R5 K8 + 0x7001FFF5, // 0019 JMP #0010 + 0x80000000, // 001A RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: lvgl_event_dispatch +********************************************************************/ +be_local_closure(class_LVGL_glob_lvgl_event_dispatch, /* name */ + be_nested_proto( + 11, /* nstack */ + 3, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(lvgl_event_dispatch), + &be_const_str_solidified, + ( &(const binstruction[42]) { /* code */ + 0xA40E3000, // 0000 IMPORT R3 K24 + 0x8C100719, // 0001 GETMET R4 R3 K25 + 0x5C180400, // 0002 MOVE R6 R2 + 0x7C100400, // 0003 CALL R4 2 + 0x8814011A, // 0004 GETMBR R5 R0 K26 + 0x78160002, // 0005 JMPF R5 #0009 + 0x8814011A, // 0006 GETMBR R5 R0 K26 + 0x90162004, // 0007 SETMBR R5 K16 R4 + 0x70020004, // 0008 JMP #000E + 0xB8161A00, // 0009 GETNGBL R5 K13 + 0x8C140B1B, // 000A GETMET R5 R5 K27 + 0x5C1C0800, // 000B MOVE R7 R4 + 0x7C140400, // 000C CALL R5 2 + 0x90023405, // 000D SETMBR R0 K26 R5 + 0x8814011A, // 000E GETMBR R5 R0 K26 + 0x8C140B1C, // 000F GETMET R5 R5 K28 + 0x7C140200, // 0010 CALL R5 1 + 0x8C18011D, // 0011 GETMET R6 R0 K29 + 0x5C200A00, // 0012 MOVE R8 R5 + 0x7C180400, // 0013 CALL R6 2 + 0x881C0105, // 0014 GETMBR R7 R0 K5 + 0x941C0E05, // 0015 GETIDX R7 R7 R5 + 0x60200004, // 0016 GETGBL R8 G4 + 0x5C240E00, // 0017 MOVE R9 R7 + 0x7C200200, // 0018 CALL R8 1 + 0x1C201107, // 0019 EQ R8 R8 K7 + 0x78220004, // 001A JMPF R8 #0020 + 0x5C200E00, // 001B MOVE R8 R7 + 0x5C240C00, // 001C MOVE R9 R6 + 0x8828011A, // 001D GETMBR R10 R0 K26 + 0x7C200400, // 001E CALL R8 2 + 0x70020008, // 001F JMP #0029 + 0x6020000C, // 0020 GETGBL R8 G12 + 0x5C240E00, // 0021 MOVE R9 R7 + 0x7C200200, // 0022 CALL R8 1 + 0x14200208, // 0023 LT R8 R1 R8 + 0x78220003, // 0024 JMPF R8 #0029 + 0x94200E01, // 0025 GETIDX R8 R7 R1 + 0x5C240C00, // 0026 MOVE R9 R6 + 0x8828011A, // 0027 GETMBR R10 R0 K26 + 0x7C200400, // 0028 CALL R8 2 + 0x80000000, // 0029 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: deregister_obj +********************************************************************/ +be_local_closure(class_LVGL_glob_deregister_obj, /* name */ + be_nested_proto( + 5, /* nstack */ + 2, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(deregister_obj), + &be_const_str_solidified, + ( &(const binstruction[17]) { /* code */ + 0x8808011E, // 0000 GETMBR R2 R0 K30 + 0x4C0C0000, // 0001 LDNIL R3 + 0x20080403, // 0002 NE R2 R2 R3 + 0x780A0003, // 0003 JMPF R2 #0008 + 0x8808011E, // 0004 GETMBR R2 R0 K30 + 0x8C08051F, // 0005 GETMET R2 R2 K31 + 0x5C100200, // 0006 MOVE R4 R1 + 0x7C080400, // 0007 CALL R2 2 + 0x88080105, // 0008 GETMBR R2 R0 K5 + 0x4C0C0000, // 0009 LDNIL R3 + 0x20080403, // 000A NE R2 R2 R3 + 0x780A0003, // 000B JMPF R2 #0010 + 0x88080105, // 000C GETMBR R2 R0 K5 + 0x8C08051F, // 000D GETMET R2 R2 K31 + 0x5C100200, // 000E MOVE R4 R1 + 0x7C080400, // 000F CALL R2 2 + 0x80000000, // 0010 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: register_obj +********************************************************************/ +be_local_closure(class_LVGL_glob_register_obj, /* name */ + be_nested_proto( + 5, /* nstack */ + 2, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(register_obj), + &be_const_str_solidified, + ( &(const binstruction[21]) { /* code */ + 0x8808011E, // 0000 GETMBR R2 R0 K30 + 0x4C0C0000, // 0001 LDNIL R3 + 0x1C080403, // 0002 EQ R2 R2 R3 + 0x780A0002, // 0003 JMPF R2 #0007 + 0x60080013, // 0004 GETGBL R2 G19 + 0x7C080000, // 0005 CALL R2 0 + 0x90023C02, // 0006 SETMBR R0 K30 R2 + 0x8808011E, // 0007 GETMBR R2 R0 K30 + 0x8C080506, // 0008 GETMET R2 R2 K6 + 0x88100310, // 0009 GETMBR R4 R1 K16 + 0x7C080400, // 000A CALL R2 2 + 0x780A0002, // 000B JMPF R2 #000F + 0x50080200, // 000C LDBOOL R2 1 0 + 0x80040400, // 000D RET 1 R2 + 0x70020004, // 000E JMP #0014 + 0x8808011E, // 000F GETMBR R2 R0 K30 + 0x880C0310, // 0010 GETMBR R3 R1 K16 + 0x98080601, // 0011 SETIDX R2 R3 R1 + 0x50080000, // 0012 LDBOOL R2 0 0 + 0x80040400, // 0013 RET 1 R2 + 0x80000000, // 0014 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: widget_event_impl +********************************************************************/ +be_local_closure(class_LVGL_glob_widget_event_impl, /* name */ + be_nested_proto( + 12, /* nstack */ + 3, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(widget_event_impl), + &be_const_str_solidified, + ( &(const binstruction[47]) { /* code */ + 0xA40E3000, // 0000 IMPORT R3 K24 + 0xB8121A00, // 0001 GETNGBL R4 K13 + 0x8C100920, // 0002 GETMET R4 R4 K32 + 0x5C180200, // 0003 MOVE R6 R1 + 0x7C100400, // 0004 CALL R4 2 + 0xB8161A00, // 0005 GETNGBL R5 K13 + 0x8C140B1B, // 0006 GETMET R5 R5 K27 + 0x8C1C0719, // 0007 GETMET R7 R3 K25 + 0x5C240400, // 0008 MOVE R9 R2 + 0x7C1C0400, // 0009 CALL R7 2 + 0x7C140400, // 000A CALL R5 2 + 0x8C180B21, // 000B GETMET R6 R5 K33 + 0x7C180200, // 000C CALL R6 1 + 0x8C1C011D, // 000D GETMET R7 R0 K29 + 0x88240D10, // 000E GETMBR R9 R6 K16 + 0x7C1C0400, // 000F CALL R7 2 + 0x60200004, // 0010 GETGBL R8 G4 + 0x5C240E00, // 0011 MOVE R9 R7 + 0x7C200200, // 0012 CALL R8 1 + 0x1C201122, // 0013 EQ R8 R8 K34 + 0x78220018, // 0014 JMPF R8 #002E + 0x8C200B23, // 0015 GETMET R8 R5 K35 + 0x7C200200, // 0016 CALL R8 1 + 0xB8261A00, // 0017 GETNGBL R9 K13 + 0x8824130E, // 0018 GETMBR R9 R9 K14 + 0x1C201009, // 0019 EQ R8 R8 R9 + 0x78220009, // 001A JMPF R8 #0025 + 0x8C200724, // 001B GETMET R8 R3 K36 + 0x5C280E00, // 001C MOVE R10 R7 + 0x582C0025, // 001D LDCONST R11 K37 + 0x7C200600, // 001E CALL R8 3 + 0x78220004, // 001F JMPF R8 #0025 + 0x8C200F25, // 0020 GETMET R8 R7 K37 + 0x5C280800, // 0021 MOVE R10 R4 + 0x5C2C0A00, // 0022 MOVE R11 R5 + 0x7C200600, // 0023 CALL R8 3 + 0x70020008, // 0024 JMP #002E + 0x8C200724, // 0025 GETMET R8 R3 K36 + 0x5C280E00, // 0026 MOVE R10 R7 + 0x582C0026, // 0027 LDCONST R11 K38 + 0x7C200600, // 0028 CALL R8 3 + 0x78220003, // 0029 JMPF R8 #002E + 0x8C200F26, // 002A GETMET R8 R7 K38 + 0x5C280800, // 002B MOVE R10 R4 + 0x5C2C0A00, // 002C MOVE R11 R5 + 0x7C200600, // 002D CALL R8 3 + 0x80000000, // 002E RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: widget_dtor_impl +********************************************************************/ +be_local_closure(class_LVGL_glob_widget_dtor_impl, /* name */ + be_nested_proto( + 10, /* nstack */ + 3, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(widget_dtor_impl), + &be_const_str_solidified, + ( &(const binstruction[22]) { /* code */ + 0xA40E3000, // 0000 IMPORT R3 K24 + 0xB8121A00, // 0001 GETNGBL R4 K13 + 0x8C100920, // 0002 GETMET R4 R4 K32 + 0x5C180200, // 0003 MOVE R6 R1 + 0x7C100400, // 0004 CALL R4 2 + 0x8C14011D, // 0005 GETMET R5 R0 K29 + 0x5C1C0400, // 0006 MOVE R7 R2 + 0x7C140400, // 0007 CALL R5 2 + 0x60180004, // 0008 GETGBL R6 G4 + 0x5C1C0A00, // 0009 MOVE R7 R5 + 0x7C180200, // 000A CALL R6 1 + 0x1C180D22, // 000B EQ R6 R6 K34 + 0x781A0007, // 000C JMPF R6 #0015 + 0x8C180724, // 000D GETMET R6 R3 K36 + 0x5C200A00, // 000E MOVE R8 R5 + 0x58240027, // 000F LDCONST R9 K39 + 0x7C180600, // 0010 CALL R6 3 + 0x781A0002, // 0011 JMPF R6 #0015 + 0x8C180B27, // 0012 GETMET R6 R5 K39 + 0x5C200800, // 0013 MOVE R8 R4 + 0x7C180400, // 0014 CALL R6 2 + 0x80000000, // 0015 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: widget_ctor_impl +********************************************************************/ +be_local_closure(class_LVGL_glob_widget_ctor_impl, /* name */ + be_nested_proto( + 10, /* nstack */ + 3, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(widget_ctor_impl), + &be_const_str_solidified, + ( &(const binstruction[29]) { /* code */ + 0xA40E3000, // 0000 IMPORT R3 K24 + 0xB8121A00, // 0001 GETNGBL R4 K13 + 0x8C100920, // 0002 GETMET R4 R4 K32 + 0x5C180200, // 0003 MOVE R6 R1 + 0x7C100400, // 0004 CALL R4 2 + 0x8C14011D, // 0005 GETMET R5 R0 K29 + 0x5C1C0400, // 0006 MOVE R7 R2 + 0x7C140400, // 0007 CALL R5 2 + 0x8818011E, // 0008 GETMBR R6 R0 K30 + 0x8C180D28, // 0009 GETMET R6 R6 K40 + 0x5C200A00, // 000A MOVE R8 R5 + 0x7C180400, // 000B CALL R6 2 + 0x781A0001, // 000C JMPF R6 #000F + 0x8818011E, // 000D GETMBR R6 R0 K30 + 0x94140C05, // 000E GETIDX R5 R6 R5 + 0x60180004, // 000F GETGBL R6 G4 + 0x5C1C0A00, // 0010 MOVE R7 R5 + 0x7C180200, // 0011 CALL R6 1 + 0x1C180D22, // 0012 EQ R6 R6 K34 + 0x781A0007, // 0013 JMPF R6 #001C + 0x8C180724, // 0014 GETMET R6 R3 K36 + 0x5C200A00, // 0015 MOVE R8 R5 + 0x58240029, // 0016 LDCONST R9 K41 + 0x7C180600, // 0017 CALL R6 3 + 0x781A0002, // 0018 JMPF R6 #001C + 0x8C180B29, // 0019 GETMET R6 R5 K41 + 0x5C200800, // 001A MOVE R8 R4 + 0x7C180400, // 001B CALL R6 2 + 0x80000000, // 001C RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: _anonymous_ +********************************************************************/ +be_local_closure(class_LVGL_glob__anonymous_, /* name */ + be_nested_proto( + 2, /* nstack */ + 0, /* argc */ + 8, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(_anonymous_), + &be_const_str_solidified, + ( &(const binstruction[ 4]) { /* code */ + 0x60000001, // 0000 GETGBL R0 G1 + 0x5804002A, // 0001 LDCONST R1 K42 + 0x7C000200, // 0002 CALL R0 1 + 0x80000000, // 0003 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: init +********************************************************************/ +be_local_closure(class_LVGL_glob_init, /* name */ + be_nested_proto( + 5, /* nstack */ + 1, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 1, /* has sup protos */ + ( &(const struct bproto*[ 1]) { + be_nested_proto( + 8, /* nstack */ + 3, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 1]) { /* upvals */ + be_local_const_upval(1, 0), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(make_cb), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 7]) { /* code */ + 0x680C0000, // 0000 GETUPV R3 U0 + 0x8C0C0700, // 0001 GETMET R3 R3 K0 + 0x5C140000, // 0002 MOVE R5 R0 + 0x5C180200, // 0003 MOVE R6 R1 + 0x5C1C0400, // 0004 MOVE R7 R2 + 0x7C0C0800, // 0005 CALL R3 4 + 0x80040600, // 0006 RET 1 R3 + }) + ), + }), + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(init), + &be_const_str_solidified, + ( &(const binstruction[ 7]) { /* code */ + 0xA4060200, // 0000 IMPORT R1 K1 + 0x8C08032B, // 0001 GETMET R2 R1 K43 + 0x84100000, // 0002 CLOSURE R4 P0 + 0x7C080400, // 0003 CALL R2 2 + 0xA40A5800, // 0004 IMPORT R2 K44 + 0xA0000000, // 0005 CLOSE R0 + 0x80000000, // 0006 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: get_object_from_ptr +********************************************************************/ +be_local_closure(class_LVGL_glob_get_object_from_ptr, /* name */ + be_nested_proto( + 5, /* nstack */ + 2, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(get_object_from_ptr), + &be_const_str_solidified, + ( &(const binstruction[10]) { /* code */ + 0x8808011E, // 0000 GETMBR R2 R0 K30 + 0x4C0C0000, // 0001 LDNIL R3 + 0x20080403, // 0002 NE R2 R2 R3 + 0x780A0004, // 0003 JMPF R2 #0009 + 0x8808011E, // 0004 GETMBR R2 R0 K30 + 0x8C080528, // 0005 GETMET R2 R2 K40 + 0x5C100200, // 0006 MOVE R4 R1 + 0x7C080400, // 0007 CALL R2 2 + 0x80040400, // 0008 RET 1 R2 + 0x80000000, // 0009 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: create_custom_widget +********************************************************************/ +be_local_closure(class_LVGL_glob_create_custom_widget, /* name */ + be_nested_proto( + 10, /* nstack */ + 3, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(create_custom_widget), + &be_const_str_solidified, + ( &(const binstruction[86]) { /* code */ + 0xA40E3000, // 0000 IMPORT R3 K24 + 0x6010000F, // 0001 GETGBL R4 G15 + 0x5C140200, // 0002 MOVE R5 R1 + 0xB81A1A00, // 0003 GETNGBL R6 K13 + 0x88180D2D, // 0004 GETMBR R6 R6 K45 + 0x7C100400, // 0005 CALL R4 2 + 0x74120000, // 0006 JMPT R4 #0008 + 0xB0065D2F, // 0007 RAISE 1 K46 K47 + 0x88100130, // 0008 GETMBR R4 R0 K48 + 0x4C140000, // 0009 LDNIL R5 + 0x1C100805, // 000A EQ R4 R4 R5 + 0x78120002, // 000B JMPF R4 #000F + 0x60100013, // 000C GETGBL R4 G19 + 0x7C100000, // 000D CALL R4 0 + 0x90026004, // 000E SETMBR R0 K48 R4 + 0x60100005, // 000F GETGBL R4 G5 + 0x5C140200, // 0010 MOVE R5 R1 + 0x7C100200, // 0011 CALL R4 1 + 0x88140130, // 0012 GETMBR R5 R0 K48 + 0x8C140B28, // 0013 GETMET R5 R5 K40 + 0x5C1C0800, // 0014 MOVE R7 R4 + 0x7C140400, // 0015 CALL R5 2 + 0x4C180000, // 0016 LDNIL R6 + 0x1C180A06, // 0017 EQ R6 R5 R6 + 0x781A002F, // 0018 JMPF R6 #0049 + 0x8C180131, // 0019 GETMET R6 R0 K49 + 0x7C180200, // 001A CALL R6 1 + 0x88180132, // 001B GETMBR R6 R0 K50 + 0x8C180D33, // 001C GETMET R6 R6 K51 + 0x7C180200, // 001D CALL R6 1 + 0x5C140C00, // 001E MOVE R5 R6 + 0x60180003, // 001F GETGBL R6 G3 + 0x5C1C0200, // 0020 MOVE R7 R1 + 0x7C180200, // 0021 CALL R6 1 + 0x88180D35, // 0022 GETMBR R6 R6 K53 + 0x90166806, // 0023 SETMBR R5 K52 R6 + 0x8C180706, // 0024 GETMET R6 R3 K6 + 0x5C200200, // 0025 MOVE R8 R1 + 0x58240036, // 0026 LDCONST R9 K54 + 0x7C180600, // 0027 CALL R6 3 + 0x781A0001, // 0028 JMPF R6 #002B + 0x88180336, // 0029 GETMBR R6 R1 K54 + 0x90166E06, // 002A SETMBR R5 K55 R6 + 0x8C180706, // 002B GETMET R6 R3 K6 + 0x5C200200, // 002C MOVE R8 R1 + 0x58240038, // 002D LDCONST R9 K56 + 0x7C180600, // 002E CALL R6 3 + 0x781A0001, // 002F JMPF R6 #0032 + 0x88180338, // 0030 GETMBR R6 R1 K56 + 0x90167206, // 0031 SETMBR R5 K57 R6 + 0x8C180706, // 0032 GETMET R6 R3 K6 + 0x5C200200, // 0033 MOVE R8 R1 + 0x5824003A, // 0034 LDCONST R9 K58 + 0x7C180600, // 0035 CALL R6 3 + 0x781A0001, // 0036 JMPF R6 #0039 + 0x8818033A, // 0037 GETMBR R6 R1 K58 + 0x90167606, // 0038 SETMBR R5 K59 R6 + 0x8C180706, // 0039 GETMET R6 R3 K6 + 0x5C200200, // 003A MOVE R8 R1 + 0x5824003C, // 003B LDCONST R9 K60 + 0x7C180600, // 003C CALL R6 3 + 0x781A0001, // 003D JMPF R6 #0040 + 0x8818033C, // 003E GETMBR R6 R1 K60 + 0x90167A06, // 003F SETMBR R5 K61 R6 + 0x8C180706, // 0040 GETMET R6 R3 K6 + 0x5C200200, // 0041 MOVE R8 R1 + 0x5824003E, // 0042 LDCONST R9 K62 + 0x7C180600, // 0043 CALL R6 3 + 0x781A0001, // 0044 JMPF R6 #0047 + 0x8818033E, // 0045 GETMBR R6 R1 K62 + 0x90167E06, // 0046 SETMBR R5 K63 R6 + 0x88180130, // 0047 GETMBR R6 R0 K48 + 0x98180805, // 0048 SETIDX R6 R4 R5 + 0xB81A1A00, // 0049 GETNGBL R6 K13 + 0x8C180D40, // 004A GETMET R6 R6 K64 + 0x5C200A00, // 004B MOVE R8 R5 + 0x5C240400, // 004C MOVE R9 R2 + 0x7C180600, // 004D CALL R6 3 + 0x881C0D10, // 004E GETMBR R7 R6 K16 + 0x90062007, // 004F SETMBR R1 K16 R7 + 0x8C1C010B, // 0050 GETMET R7 R0 K11 + 0x5C240200, // 0051 MOVE R9 R1 + 0x7C1C0400, // 0052 CALL R7 2 + 0x8C1C0341, // 0053 GETMET R7 R1 K65 + 0x7C1C0200, // 0054 CALL R7 1 + 0x80000000, // 0055 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: widget_cb +********************************************************************/ +be_local_closure(class_LVGL_glob_widget_cb, /* name */ + be_nested_proto( + 5, /* nstack */ + 1, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 1, /* has sup protos */ + ( &(const struct bproto*[ 3]) { + be_nested_proto( + 6, /* nstack */ + 2, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 1]) { /* upvals */ + be_local_const_upval(1, 0), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(widget_ctor_impl), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0x68080000, // 0000 GETUPV R2 U0 + 0x8C080500, // 0001 GETMET R2 R2 K0 + 0x5C100000, // 0002 MOVE R4 R0 + 0x5C140200, // 0003 MOVE R5 R1 + 0x7C080600, // 0004 CALL R2 3 + 0x80040400, // 0005 RET 1 R2 + }) + ), + be_nested_proto( + 6, /* nstack */ + 2, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 1]) { /* upvals */ + be_local_const_upval(1, 0), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(widget_dtor_impl), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0x68080000, // 0000 GETUPV R2 U0 + 0x8C080500, // 0001 GETMET R2 R2 K0 + 0x5C100000, // 0002 MOVE R4 R0 + 0x5C140200, // 0003 MOVE R5 R1 + 0x7C080600, // 0004 CALL R2 3 + 0x80040400, // 0005 RET 1 R2 + }) + ), + be_nested_proto( + 6, /* nstack */ + 2, /* argc */ + 0, /* varg */ + 1, /* has upvals */ + ( &(const bupvaldesc[ 1]) { /* upvals */ + be_local_const_upval(1, 0), + }), + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + ( &(const bvalue[ 1]) { /* constants */ + /* K0 */ be_nested_str_weak(widget_event_impl), + }), + be_str_weak(_X3Clambda_X3E), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0x68080000, // 0000 GETUPV R2 U0 + 0x8C080500, // 0001 GETMET R2 R2 K0 + 0x5C100000, // 0002 MOVE R4 R0 + 0x5C140200, // 0003 MOVE R5 R1 + 0x7C080600, // 0004 CALL R2 3 + 0x80040400, // 0005 RET 1 R2 + }) + ), + }), + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(widget_cb), + &be_const_str_solidified, + ( &(const binstruction[54]) { /* code */ + 0xA4060200, // 0000 IMPORT R1 K1 + 0x88080142, // 0001 GETMBR R2 R0 K66 + 0x4C0C0000, // 0002 LDNIL R3 + 0x1C080403, // 0003 EQ R2 R2 R3 + 0x780A0003, // 0004 JMPF R2 #0009 + 0x8C080302, // 0005 GETMET R2 R1 K2 + 0x84100000, // 0006 CLOSURE R4 P0 + 0x7C080400, // 0007 CALL R2 2 + 0x90028402, // 0008 SETMBR R0 K66 R2 + 0x88080143, // 0009 GETMBR R2 R0 K67 + 0x4C0C0000, // 000A LDNIL R3 + 0x1C080403, // 000B EQ R2 R2 R3 + 0x780A0003, // 000C JMPF R2 #0011 + 0x8C080302, // 000D GETMET R2 R1 K2 + 0x84100001, // 000E CLOSURE R4 P1 + 0x7C080400, // 000F CALL R2 2 + 0x90028602, // 0010 SETMBR R0 K67 R2 + 0x88080144, // 0011 GETMBR R2 R0 K68 + 0x4C0C0000, // 0012 LDNIL R3 + 0x1C080403, // 0013 EQ R2 R2 R3 + 0x780A0003, // 0014 JMPF R2 #0019 + 0x8C080302, // 0015 GETMET R2 R1 K2 + 0x84100002, // 0016 CLOSURE R4 P2 + 0x7C080400, // 0017 CALL R2 2 + 0x90028802, // 0018 SETMBR R0 K68 R2 + 0x88080132, // 0019 GETMBR R2 R0 K50 + 0x4C0C0000, // 001A LDNIL R3 + 0x1C080403, // 001B EQ R2 R2 R3 + 0x780A0016, // 001C JMPF R2 #0034 + 0xB80A1A00, // 001D GETNGBL R2 K13 + 0x8C080520, // 001E GETMET R2 R2 K32 + 0xB8121A00, // 001F GETNGBL R4 K13 + 0x8810092D, // 0020 GETMBR R4 R4 K45 + 0x88100935, // 0021 GETMBR R4 R4 K53 + 0x7C080400, // 0022 CALL R2 2 + 0x8C080533, // 0023 GETMET R2 R2 K51 + 0x7C080200, // 0024 CALL R2 1 + 0x90026402, // 0025 SETMBR R0 K50 R2 + 0x88080132, // 0026 GETMBR R2 R0 K50 + 0xB80E1A00, // 0027 GETNGBL R3 K13 + 0x880C072D, // 0028 GETMBR R3 R3 K45 + 0x880C0735, // 0029 GETMBR R3 R3 K53 + 0x900A6803, // 002A SETMBR R2 K52 R3 + 0x88080132, // 002B GETMBR R2 R0 K50 + 0x880C0142, // 002C GETMBR R3 R0 K66 + 0x900A8A03, // 002D SETMBR R2 K69 R3 + 0x88080132, // 002E GETMBR R2 R0 K50 + 0x880C0143, // 002F GETMBR R3 R0 K67 + 0x900A8C03, // 0030 SETMBR R2 K70 R3 + 0x88080132, // 0031 GETMBR R2 R0 K50 + 0x880C0144, // 0032 GETMBR R3 R0 K68 + 0x900A0003, // 0033 SETMBR R2 K0 R3 + 0xA0000000, // 0034 CLOSE R0 + 0x80000000, // 0035 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified function: remove_cb +********************************************************************/ +be_local_closure(class_LVGL_glob_remove_cb, /* name */ + be_nested_proto( + 7, /* nstack */ + 2, /* argc */ + 10, /* varg */ + 0, /* has upvals */ + NULL, /* no upvals */ + 0, /* has sup protos */ + NULL, /* no sub protos */ + 1, /* has constants */ + &be_ktab_class_LVGL_glob, /* shared constants */ + be_str_weak(remove_cb), + &be_const_str_solidified, + ( &(const binstruction[ 6]) { /* code */ + 0xA40A3000, // 0000 IMPORT R2 K24 + 0x880C0310, // 0001 GETMBR R3 R1 K16 + 0x8C100147, // 0002 GETMET R4 R0 K71 + 0x5C180600, // 0003 MOVE R6 R3 + 0x7C100400, // 0004 CALL R4 2 + 0x80000000, // 0005 RET 0 + }) + ) +); +/*******************************************************************/ + + +/******************************************************************** +** Solidified class: LVGL_glob +********************************************************************/ +be_local_class(LVGL_glob, + 12, + NULL, + be_nested_map(28, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_const_key_weak(get_event_cb, -1), be_const_closure(class_LVGL_glob_get_event_cb_closure) }, + { be_const_key_weak(cb_event_closure, -1), be_const_var(1) }, + { be_const_key_weak(lvgl_timer_dispatch, -1), be_const_closure(class_LVGL_glob_lvgl_timer_dispatch_closure) }, + { be_const_key_weak(deregister_obj, -1), be_const_closure(class_LVGL_glob_deregister_obj_closure) }, + { be_const_key_weak(event_cb, 2), be_const_var(2) }, + { be_const_key_weak(register_obj, -1), be_const_closure(class_LVGL_glob_register_obj_closure) }, + { be_const_key_weak(lvgl_event_dispatch, 20), be_const_closure(class_LVGL_glob_lvgl_event_dispatch_closure) }, + { be_const_key_weak(widget_event_impl, -1), be_const_closure(class_LVGL_glob_widget_event_impl_closure) }, + { be_const_key_weak(widget_ctor_cb, 16), be_const_var(7) }, + { be_const_key_weak(make_cb, 3), be_const_closure(class_LVGL_glob_make_cb_closure) }, + { be_const_key_weak(create_custom_widget, 5), be_const_closure(class_LVGL_glob_create_custom_widget_closure) }, + { be_const_key_weak(event, -1), be_const_var(4) }, + { be_const_key_weak(get_object_from_ptr, -1), be_const_closure(class_LVGL_glob_get_object_from_ptr_closure) }, + { be_const_key_weak(widget_struct_default, 7), be_const_var(10) }, + { be_const_key_weak(widget_dtor_impl, -1), be_const_closure(class_LVGL_glob_widget_dtor_impl_closure) }, + { be_const_key_weak(widget_ctor_impl, -1), be_const_closure(class_LVGL_glob_widget_ctor_impl_closure) }, + { be_const_key_weak(general_event_cb, -1), be_const_var(5) }, + { be_const_key_weak(cb_do_nothing, -1), be_const_static_closure(class_LVGL_glob__anonymous__closure) }, + { be_const_key_weak(widget_event_cb, 17), be_const_var(9) }, + { be_const_key_weak(init, -1), be_const_closure(class_LVGL_glob_init_closure) }, + { be_const_key_weak(timer_cb, -1), be_const_var(3) }, + { be_const_key_weak(widget_dtor_cb, 12), be_const_var(8) }, + { be_const_key_weak(cb_obj, 10), be_const_var(0) }, + { be_const_key_weak(widget_cb, -1), be_const_closure(class_LVGL_glob_widget_cb_closure) }, + { be_const_key_weak(null_cb, -1), be_const_var(6) }, + { be_const_key_weak(add_cb_event_closure, 4), be_const_closure(class_LVGL_glob_add_cb_event_closure_closure) }, + { be_const_key_weak(widget_struct_by_class, -1), be_const_var(11) }, + { be_const_key_weak(remove_cb, -1), be_const_closure(class_LVGL_glob_remove_cb_closure) }, + })), + be_str_weak(LVGL_glob) +); +/********************************************************************/ +/* End of solidification */