mirror of https://github.com/arendst/Tasmota.git
empty generate folder
This commit is contained in:
parent
e6ffdaea1b
commit
580069a613
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,24 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libULP_map) {
|
||||
{ be_const_key(sleep, -1), be_const_ctype_func(be_ULP_sleep) },
|
||||
{ be_const_key(get_mem, 6), be_const_ctype_func(be_ULP_get_mem) },
|
||||
{ be_const_key(run, -1), be_const_ctype_func(be_ULP_run) },
|
||||
{ be_const_key(load, -1), be_const_ctype_func(be_ULP_load) },
|
||||
{ be_const_key(adc_config, -1), be_const_ctype_func(be_ULP_adc_config) },
|
||||
{ be_const_key(set_mem, -1), be_const_ctype_func(be_ULP_set_mem) },
|
||||
{ be_const_key(gpio_init, 3), be_const_ctype_func(be_ULP_gpio_init) },
|
||||
{ be_const_key(wake_period, -1), be_const_ctype_func(be_ULP_wake_up_period) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libULP_map,
|
||||
8
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libULP,
|
||||
"ULP"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(ULP);
|
|
@ -1,17 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioFileSource_map) {
|
||||
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioFileSource_map,
|
||||
1
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioFileSource,
|
||||
1,
|
||||
NULL,
|
||||
AudioFileSource
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioFileSourceFS_map) {
|
||||
{ be_const_key_weak(deinit, -1), be_const_func(i2s_file_source_fs_deinit) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(i2s_file_source_fs_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioFileSourceFS_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioFileSourceFS,
|
||||
0,
|
||||
(bclass *)&be_class_AudioFileSource,
|
||||
AudioFileSourceFS
|
||||
);
|
|
@ -1,17 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioGenerator_map) {
|
||||
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioGenerator_map,
|
||||
1
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioGenerator,
|
||||
1,
|
||||
NULL,
|
||||
AudioGenerator
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioGeneratorMP3_map) {
|
||||
{ be_const_key_weak(begin, -1), be_const_func(i2s_generator_mp3_begin) },
|
||||
{ be_const_key_weak(loop, -1), be_const_func(i2s_generator_mp3_loop) },
|
||||
{ be_const_key_weak(isrunning, -1), be_const_func(i2s_generator_mp3_isrunning) },
|
||||
{ be_const_key_weak(init, 1), be_const_func(i2s_generator_mp3_init) },
|
||||
{ be_const_key_weak(deinit, -1), be_const_func(i2s_generator_mp3_deinit) },
|
||||
{ be_const_key_weak(stop, -1), be_const_func(i2s_generator_mp3_stop) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioGeneratorMP3_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioGeneratorMP3,
|
||||
0,
|
||||
(bclass *)&be_class_AudioGenerator,
|
||||
AudioGeneratorMP3
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioGeneratorWAV_map) {
|
||||
{ be_const_key_weak(begin, -1), be_const_func(i2s_generator_wav_begin) },
|
||||
{ be_const_key_weak(loop, -1), be_const_func(i2s_generator_wav_loop) },
|
||||
{ be_const_key_weak(isrunning, -1), be_const_func(i2s_generator_wav_isrunning) },
|
||||
{ be_const_key_weak(init, 1), be_const_func(i2s_generator_wav_init) },
|
||||
{ be_const_key_weak(deinit, -1), be_const_func(i2s_generator_wav_deinit) },
|
||||
{ be_const_key_weak(stop, -1), be_const_func(i2s_generator_wav_stop) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioGeneratorWAV_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioGeneratorWAV,
|
||||
0,
|
||||
(bclass *)&be_class_AudioGenerator,
|
||||
AudioGeneratorWAV
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioOpusDecoder_map) {
|
||||
{ be_const_key_weak(deinit, -1), be_const_func(be_audio_opus_decoder_deinit) },
|
||||
{ be_const_key_weak(decode, 2), be_const_func(be_audio_opus_decoder_decode) },
|
||||
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(init, 1), be_const_func(be_audio_opus_decoder_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioOpusDecoder_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioOpusDecoder,
|
||||
1,
|
||||
NULL,
|
||||
AudioOpusDecoder
|
||||
);
|
|
@ -1,28 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioOutput_map) {
|
||||
{ be_const_key_weak(set_bits_per_sample, -1), be_const_func(be_audio_output_set_bits_per_sample) },
|
||||
{ be_const_key_weak(flush, -1), be_const_func(be_audio_output_flush) },
|
||||
{ be_const_key_weak(consume_stereo, -1), be_const_func(be_audio_output_consume_stereo) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_audio_output_init) },
|
||||
{ be_const_key_weak(consume_mono, -1), be_const_func(be_audio_output_consume_mono) },
|
||||
{ be_const_key_weak(stop, -1), be_const_func(be_audio_output_stop) },
|
||||
{ be_const_key_weak(begin, -1), be_const_func(be_audio_output_begin) },
|
||||
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(set_channels, -1), be_const_func(be_audio_output_set_channels) },
|
||||
{ be_const_key_weak(consume_silence, 4), be_const_func(be_audio_output_consume_silence) },
|
||||
{ be_const_key_weak(set_rate, 2), be_const_func(be_audio_output_set_rate) },
|
||||
{ be_const_key_weak(set_gain, 0), be_const_func(be_audio_output_set_gain) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioOutput_map,
|
||||
12
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioOutput,
|
||||
1,
|
||||
NULL,
|
||||
AudioOutput
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_AudioOutputI2S_map) {
|
||||
{ be_const_key_weak(INTERNAL_PDM, -1), be_const_int(AudioOutputI2S::INTERNAL_PDM) },
|
||||
{ be_const_key_weak(INTERNAL_DAC, 2), be_const_int(AudioOutputI2S::INTERNAL_DAC) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(i2s_output_i2s_init) },
|
||||
{ be_const_key_weak(EXTERNAL_I2S, 1), be_const_int(AudioOutputI2S::EXTERNAL_I2S) },
|
||||
{ be_const_key_weak(deinit, -1), be_const_func(i2s_output_i2s_deinit) },
|
||||
{ be_const_key_weak(stop, -1), be_const_func(i2s_output_i2s_stop) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_AudioOutputI2S_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_AudioOutputI2S,
|
||||
0,
|
||||
(bclass *)&be_class_AudioOutput,
|
||||
AudioOutputI2S
|
||||
);
|
|
@ -1,24 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_BLE_map) {
|
||||
{ be_const_key_weak(adv_block, -1), be_const_func(be_BLE_adv_block) },
|
||||
{ be_const_key_weak(conn_cb, -1), be_const_func(be_BLE_reg_conn_cb) },
|
||||
{ be_const_key_weak(adv_cb, 5), be_const_func(be_BLE_reg_adv_cb) },
|
||||
{ be_const_key_weak(set_MAC, -1), be_const_func(be_BLE_set_MAC) },
|
||||
{ be_const_key_weak(adv_watch, -1), be_const_func(be_BLE_adv_watch) },
|
||||
{ be_const_key_weak(run, -1), be_const_func(be_BLE_run) },
|
||||
{ be_const_key_weak(set_svc, 4), be_const_func(be_BLE_set_service) },
|
||||
{ be_const_key_weak(set_chr, 3), be_const_func(be_BLE_set_characteristic) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_BLE_map,
|
||||
8
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_BLE,
|
||||
0,
|
||||
NULL,
|
||||
BLE
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_MI32_map) {
|
||||
{ be_const_key(devices, -1), be_const_func(be_MI32_devices) },
|
||||
{ be_const_key(set_bat, -1), be_const_func(be_MI32_set_bat) },
|
||||
{ be_const_key(set_hum, 4), be_const_func(be_MI32_set_hum) },
|
||||
{ be_const_key(get_MAC, -1), be_const_func(be_MI32_get_MAC) },
|
||||
{ be_const_key(set_temp, -1), be_const_func(be_MI32_set_temp) },
|
||||
{ be_const_key(get_name, 3), be_const_func(be_MI32_get_name) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_MI32_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_MI32,
|
||||
0,
|
||||
NULL,
|
||||
MI32
|
||||
);
|
|
@ -1,28 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_OneWire_map) {
|
||||
{ be_const_key_weak(reset, -1), be_const_func(b_onewire_reset) },
|
||||
{ be_const_key_weak(search, 10), be_const_func(b_onewire_search) },
|
||||
{ be_const_key_weak(depower, -1), be_const_func(b_onewire_depower) },
|
||||
{ be_const_key_weak(init, 2), be_const_func(b_onewire_init) },
|
||||
{ be_const_key_weak(deinit, -1), be_const_func(b_onewire_deinit) },
|
||||
{ be_const_key_weak(reset_search, -1), be_const_func(b_onewire_reset_search) },
|
||||
{ be_const_key_weak(skip, -1), be_const_func(b_onewire_skip) },
|
||||
{ be_const_key_weak(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(write, -1), be_const_func(b_onewire_write) },
|
||||
{ be_const_key_weak(read, -1), be_const_func(b_onewire_read) },
|
||||
{ be_const_key_weak(select, 11), be_const_func(b_onewire_select) },
|
||||
{ be_const_key_weak(target_search, -1), be_const_func(b_onewire_target_search) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_OneWire_map,
|
||||
12
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_OneWire,
|
||||
1,
|
||||
NULL,
|
||||
OneWire
|
||||
);
|
|
@ -1,31 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_Wire_map) {
|
||||
{ be_const_key(init, -1), be_const_func(b_wire_init) },
|
||||
{ be_const_key(_available, -1), be_const_func(b_wire_available) },
|
||||
{ be_const_key(bus, -1), be_const_var(0) },
|
||||
{ be_const_key(read_bytes, -1), be_const_closure(read_bytes_closure) },
|
||||
{ be_const_key(_request_from, -1), be_const_func(b_wire_requestfrom) },
|
||||
{ be_const_key(detect, -1), be_const_func(b_wire_detect) },
|
||||
{ be_const_key(scan, 2), be_const_func(b_wire_scan) },
|
||||
{ be_const_key(enabled, -1), be_const_func(b_wire_enabled) },
|
||||
{ be_const_key(_write, 13), be_const_func(b_wire_write) },
|
||||
{ be_const_key(read, -1), be_const_func(b_wire_validread) },
|
||||
{ be_const_key(_end_transmission, 8), be_const_func(b_wire_endtransmission) },
|
||||
{ be_const_key(_begin_transmission, -1), be_const_func(b_wire_begintransmission) },
|
||||
{ be_const_key(write_bytes, 7), be_const_closure(write_bytes_closure) },
|
||||
{ be_const_key(_read, -1), be_const_func(b_wire_read) },
|
||||
{ be_const_key(write, -1), be_const_func(b_wire_validwrite) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_Wire_map,
|
||||
15
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_Wire,
|
||||
1,
|
||||
NULL,
|
||||
Wire
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_aes_gcm_map) {
|
||||
{ be_const_key_weak(encrypt, 4), be_const_func(m_aes_gcm_encryt) },
|
||||
{ be_const_key_weak(_X2Ep2, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(decrypt, -1), be_const_func(m_aes_gcm_decryt) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(m_aes_gcm_init) },
|
||||
{ be_const_key_weak(_X2Ep1, -1), be_const_var(1) },
|
||||
{ be_const_key_weak(tag, -1), be_const_func(m_aes_gcm_tag) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_aes_gcm_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_aes_gcm,
|
||||
2,
|
||||
NULL,
|
||||
AES_GCM
|
||||
);
|
|
@ -1,50 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_bytes_map) {
|
||||
{ be_const_key(copy, 8), be_const_func(m_copy) },
|
||||
{ be_const_key(setbits, -1), be_const_closure(setbits_closure) },
|
||||
{ be_const_key(deinit, 18), be_const_func(m_deinit) },
|
||||
{ be_const_key(setfloat, -1), be_const_func(m_setfloat) },
|
||||
{ be_const_key(ismapped, -1), be_const_func(m_is_mapped) },
|
||||
{ be_const_key(getbits, 30), be_const_closure(getbits_closure) },
|
||||
{ be_const_key(getfloat, 17), be_const_func(m_getfloat) },
|
||||
{ be_const_key(_change_buffer, -1), be_const_func(m_change_buffer) },
|
||||
{ be_const_key(tob64, -1), be_const_func(m_tob64) },
|
||||
{ be_const_key(set, -1), be_const_func(m_set) },
|
||||
{ be_const_key(setitem, -1), be_const_func(m_setitem) },
|
||||
{ be_const_key(_X2E_X2E, 6), be_const_func(m_connect) },
|
||||
{ be_const_key(add, -1), be_const_func(m_add) },
|
||||
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key(_buffer, -1), be_const_func(m_buffer) },
|
||||
{ be_const_key(_X21_X3D, 21), be_const_func(m_nequal) },
|
||||
{ be_const_key(seti, 23), be_const_func(m_set) },
|
||||
{ be_const_key(fromb64, -1), be_const_func(m_fromb64) },
|
||||
{ be_const_key(asstring, 25), be_const_func(m_asstring) },
|
||||
{ be_const_key(tostring, -1), be_const_func(m_tostring) },
|
||||
{ be_const_key(item, -1), be_const_func(m_item) },
|
||||
{ be_const_key(init, -1), be_const_func(m_init) },
|
||||
{ be_const_key(_X2Esize, 31), be_const_var(1) },
|
||||
{ be_const_key(clear, -1), be_const_func(m_clear) },
|
||||
{ be_const_key(_X2Elen, -1), be_const_var(2) },
|
||||
{ be_const_key(_X2B, -1), be_const_func(m_merge) },
|
||||
{ be_const_key(fromhex, -1), be_const_func(m_fromhex) },
|
||||
{ be_const_key(get, -1), be_const_func(m_getu) },
|
||||
{ be_const_key(size, 2), be_const_func(m_size) },
|
||||
{ be_const_key(tohex, -1), be_const_func(m_tohex) },
|
||||
{ be_const_key(resize, -1), be_const_func(m_resize) },
|
||||
{ be_const_key(geti, -1), be_const_func(m_geti) },
|
||||
{ be_const_key(fromstring, -1), be_const_func(m_fromstring) },
|
||||
{ be_const_key(_X3D_X3D, 5), be_const_func(m_equal) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_bytes_map,
|
||||
34
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_bytes,
|
||||
3,
|
||||
NULL,
|
||||
bytes
|
||||
);
|
|
@ -1,21 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_ccronexpr_map) {
|
||||
{ be_const_key(init, -1), be_const_ctype_func(ccronexpr_init) },
|
||||
{ be_const_key(now, -1), be_const_static_ctype_func(ccronexpr_now) },
|
||||
{ be_const_key(next, -1), be_const_ctype_func(ccronexpr_next) },
|
||||
{ be_const_key(time_reached, 1), be_const_static_ctype_func(ccronexpr_time_reached) },
|
||||
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_ccronexpr_map,
|
||||
5
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_ccronexpr,
|
||||
1,
|
||||
NULL,
|
||||
ccronexpr
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_ctypes_bytes_map) {
|
||||
{ be_const_key(_def, 5), be_const_nil() },
|
||||
{ be_const_key(setmember, 0), be_const_func(be_ctypes_setmember) },
|
||||
{ be_const_key(copy, -1), be_const_func(be_ctypes_copy) },
|
||||
{ be_const_key(init, -1), be_const_func(be_ctypes_init) },
|
||||
{ be_const_key(tomap, -1), be_const_func(be_ctypes_tomap) },
|
||||
{ be_const_key(member, -1), be_const_func(be_ctypes_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_ctypes_bytes_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_ctypes_bytes,
|
||||
0,
|
||||
(bclass *)&be_class_bytes,
|
||||
ctypes_bytes
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_ctypes_bytes_dyn_map) {
|
||||
{ be_const_key(_def, -1), be_const_var(0) },
|
||||
{ be_const_key(init, 0), be_const_func(be_ctypes_dyn_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_ctypes_bytes_dyn_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_ctypes_bytes_dyn,
|
||||
1,
|
||||
(bclass *)&be_class_ctypes_bytes,
|
||||
ctypes_bytes_dyn
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_ec_c25519_map) {
|
||||
{ be_const_key_weak(public_key, 1), be_const_func(m_ec_c25519_pubkey) },
|
||||
{ be_const_key_weak(shared_key, -1), be_const_func(m_ec_c25519_sharedkey) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_ec_c25519_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_ec_c25519,
|
||||
0,
|
||||
NULL,
|
||||
EC_C25519
|
||||
);
|
|
@ -1,36 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_int64_map) {
|
||||
{ be_const_key(_X3C, -1), be_const_ctype_func(int64_lt) },
|
||||
{ be_const_key(_X2F, -1), be_const_ctype_func(int64_div) },
|
||||
{ be_const_key(_p, -1), be_const_var(0) },
|
||||
{ be_const_key(_X2A, -1), be_const_ctype_func(int64_mul) },
|
||||
{ be_const_key(_X25, -1), be_const_ctype_func(int64_mod) },
|
||||
{ be_const_key(tostring, -1), be_const_ctype_func(int64_tostring) },
|
||||
{ be_const_key(_X3C_X3D, -1), be_const_ctype_func(int64_lte) },
|
||||
{ be_const_key(set, -1), be_const_ctype_func(int64_set) },
|
||||
{ be_const_key(frombytes, -1), be_const_ctype_func(int64_frombytes) },
|
||||
{ be_const_key(toint, 3), be_const_ctype_func(int64_toint) },
|
||||
{ be_const_key(_X2B, -1), be_const_ctype_func(int64_add) },
|
||||
{ be_const_key(_X21_X3D, -1), be_const_ctype_func(int64_nequals) },
|
||||
{ be_const_key(deinit, -1), be_const_ctype_func(int64_deinit) },
|
||||
{ be_const_key(_X2D, -1), be_const_ctype_func(int64_sub) },
|
||||
{ be_const_key(_X2D_X2A, 1), be_const_ctype_func(int64_neg) },
|
||||
{ be_const_key(_X3D_X3D, 18), be_const_ctype_func(int64_equals) },
|
||||
{ be_const_key(_X3E_X3D, 13), be_const_ctype_func(int64_gte) },
|
||||
{ be_const_key(_X3E, -1), be_const_ctype_func(int64_gt) },
|
||||
{ be_const_key(init, -1), be_const_ctype_func(int64_init) },
|
||||
{ be_const_key(tobytes, 0), be_const_ctype_func(int64_tobytes) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_int64_map,
|
||||
20
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_int64,
|
||||
1,
|
||||
NULL,
|
||||
int64
|
||||
);
|
|
@ -1,40 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_light_state_map) {
|
||||
{ be_const_key(set_bri, 8), be_const_ctype_func(ls_set_bri) },
|
||||
{ be_const_key(member, 5), be_const_func(light_state_member) },
|
||||
{ be_const_key(_p, -1), be_const_var(0) },
|
||||
{ be_const_key(set_reachable, 16), be_const_ctype_func(ls_set_reachable) },
|
||||
{ be_const_key(CT, -1), be_const_int(2) },
|
||||
{ be_const_key(set_ct, -1), be_const_ctype_func(ls_set_ct) },
|
||||
{ be_const_key(reverse_gamma10, 13), be_const_ctype_func(ls_rev_gamma10) },
|
||||
{ be_const_key(set_mode_ct, -1), be_const_ctype_func(ls_set_mode_ct) },
|
||||
{ be_const_key(RGBCT, -1), be_const_int(5) },
|
||||
{ be_const_key(set_huesat, -1), be_const_ctype_func(ls_set_huesat) },
|
||||
{ be_const_key(RELAY, 4), be_const_int(0) },
|
||||
{ be_const_key(gamma10, 0), be_const_ctype_func(ls_gamma10) },
|
||||
{ be_const_key(get, 22), be_const_func(light_state_get) },
|
||||
{ be_const_key(gamma8, -1), be_const_ctype_func(ls_gamma8) },
|
||||
{ be_const_key(signal_change, 9), be_const_ctype_func(ls_signal_change) },
|
||||
{ be_const_key(set_rgb, -1), be_const_ctype_func(ls_set_rgb) },
|
||||
{ be_const_key(set_mode_rgb, 18), be_const_ctype_func(ls_set_mode_rgb) },
|
||||
{ be_const_key(RGBW, -1), be_const_int(4) },
|
||||
{ be_const_key(init, -1), be_const_ctype_func(ls_init) },
|
||||
{ be_const_key(DIMMER, 1), be_const_int(1) },
|
||||
{ be_const_key(RGB, -1), be_const_int(3) },
|
||||
{ be_const_key(set_power, -1), be_const_ctype_func(ls_set_power) },
|
||||
{ be_const_key(set_hue16sat, -1), be_const_ctype_func(ls_set_hue16sat) },
|
||||
{ be_const_key(set_xy, 12), be_const_ctype_func(ls_set_xy) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_light_state_map,
|
||||
24
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_light_state,
|
||||
1,
|
||||
NULL,
|
||||
light_state
|
||||
);
|
|
@ -1,38 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_list_map) {
|
||||
{ be_const_key(_X2B, -1), be_const_func(m_merge) },
|
||||
{ be_const_key(init, -1), be_const_func(m_init) },
|
||||
{ be_const_key(_X2E_X2E, 11), be_const_func(m_connect) },
|
||||
{ be_const_key(tostring, 2), be_const_func(m_tostring) },
|
||||
{ be_const_key(pop, 6), be_const_func(m_pop) },
|
||||
{ be_const_key(insert, -1), be_const_func(m_insert) },
|
||||
{ be_const_key(size, -1), be_const_func(m_size) },
|
||||
{ be_const_key(remove, 12), be_const_func(m_remove) },
|
||||
{ be_const_key(find, -1), be_const_func(m_find) },
|
||||
{ be_const_key(push, 1), be_const_func(m_push) },
|
||||
{ be_const_key(item, 5), be_const_func(m_item) },
|
||||
{ be_const_key(concat, -1), be_const_func(m_concat) },
|
||||
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key(iter, -1), be_const_func(m_iter) },
|
||||
{ be_const_key(copy, -1), be_const_func(m_copy) },
|
||||
{ be_const_key(reverse, 13), be_const_func(m_reverse) },
|
||||
{ be_const_key(keys, -1), be_const_func(m_keys) },
|
||||
{ be_const_key(resize, 16), be_const_func(m_resize) },
|
||||
{ be_const_key(setitem, -1), be_const_func(m_setitem) },
|
||||
{ be_const_key(_X21_X3D, 7), be_const_func(m_nequal) },
|
||||
{ be_const_key(clear, -1), be_const_func(m_clear) },
|
||||
{ be_const_key(_X3D_X3D, -1), be_const_func(m_equal) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_list_map,
|
||||
22
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_list,
|
||||
1,
|
||||
NULL,
|
||||
list
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_anim_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lv_be_anim_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_anim_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_anim,
|
||||
1,
|
||||
NULL,
|
||||
lv_anim
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_arc_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_arc_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_arc_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_arc_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_arc,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_arc
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_bar_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_bar_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_bar_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_bar_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_bar,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_bar
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_btn_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_btn_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_btn_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_btn_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_btn,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_btn
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_btnmatrix_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_btnmatrix_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_btnmatrix_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_btnmatrix_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_btnmatrix,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_btnmatrix
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_canvas_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_canvas_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_canvas_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_canvas_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_canvas,
|
||||
0,
|
||||
(bclass *)&be_class_lv_img,
|
||||
lv_canvas
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_chart_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_chart_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_chart_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_chart_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_chart,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_chart
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_checkbox_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_checkbox_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_checkbox_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_checkbox_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_checkbox,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_checkbox
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_color_map) {
|
||||
{ be_const_key_weak(toint, -1), be_const_func(lco_toint) },
|
||||
{ be_const_key_weak(tostring, 0), be_const_func(lco_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(lco_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_color_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_color,
|
||||
1,
|
||||
NULL,
|
||||
lv_color
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_colorwheel_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_colorwheel_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_colorwheel_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_colorwheel_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_colorwheel,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_colorwheel
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_disp_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lv0_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_disp_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_disp,
|
||||
1,
|
||||
NULL,
|
||||
lv_disp
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_dropdown_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_dropdown_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_dropdown_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_dropdown_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_dropdown,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_dropdown
|
||||
);
|
|
@ -1,19 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_font_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lvbe_font_create) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_font_map,
|
||||
3
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_font,
|
||||
1,
|
||||
NULL,
|
||||
lv_font
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_group_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_group_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_group_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_group,
|
||||
1,
|
||||
NULL,
|
||||
lv_group
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_img_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_img_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_img_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_img_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_img,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_img
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_imgbtn_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_imgbtn_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_imgbtn_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_imgbtn_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_imgbtn,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_imgbtn
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_indev_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lv0_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_indev_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_indev,
|
||||
1,
|
||||
NULL,
|
||||
lv_indev
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_label_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_label_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_label_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_label_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_label,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_label
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_led_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_led_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_led_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_led_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_led,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_led
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_line_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_line_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_line_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_line_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_line,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_line
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_meter_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_meter_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_meter_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_meter_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_meter,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_meter
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_msgbox_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_msgbox_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_msgbox_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_msgbox_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_msgbox,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_msgbox
|
||||
);
|
|
@ -1,21 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_obj_map) {
|
||||
{ be_const_key_weak(tostring, 3), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(member, -1), be_const_func(lv_x_member) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(init, 4), be_const_func(be_ntv_lv_obj_init) },
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_obj_class) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_obj_map,
|
||||
5
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_obj,
|
||||
1,
|
||||
NULL,
|
||||
lv_obj
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_qrcode_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_qrcode_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_qrcode_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_qrcode_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_qrcode,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_qrcode
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_roller_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_roller_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_roller_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_roller_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_roller,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_roller
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_slider_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_slider_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_slider_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_slider_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_slider,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_slider
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_spinbox_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_spinbox_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_spinbox_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_spinbox_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_spinbox,
|
||||
0,
|
||||
(bclass *)&be_class_lv_textarea,
|
||||
lv_spinbox
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_spinner_map) {
|
||||
{ be_const_key_weak(_arc_anim_end_angle, -1), be_const_comptr(&arc_anim_end_angle) },
|
||||
{ be_const_key_weak(_arc_anim_start_angle, -1), be_const_comptr(&arc_anim_start_angle) },
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_spinner_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_spinner_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_spinner_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_spinner,
|
||||
0,
|
||||
(bclass *)&be_class_lv_arc,
|
||||
lv_spinner
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_style_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lv_be_style_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_style_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_style,
|
||||
1,
|
||||
NULL,
|
||||
lv_style
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_switch_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_switch_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_switch_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_switch_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_switch,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_switch
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_table_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_table_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_table_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_table_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_table,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_table
|
||||
);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_textarea_map) {
|
||||
{ be_const_key_weak(_class, -1), be_const_comptr(&lv_textarea_class) },
|
||||
{ be_const_key_weak(init, -1), be_const_func(be_ntv_lv_textarea_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_textarea_map,
|
||||
2
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_textarea,
|
||||
0,
|
||||
(bclass *)&be_class_lv_obj,
|
||||
lv_textarea
|
||||
);
|
|
@ -1,19 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_theme_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lvbe_theme_create) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_theme_map,
|
||||
3
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_theme,
|
||||
1,
|
||||
NULL,
|
||||
lv_theme
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_timer_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_func(lv0_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_func(lv_x_tostring) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(lv_x_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_timer_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_lv_timer,
|
||||
1,
|
||||
NULL,
|
||||
lv_timer
|
||||
);
|
|
@ -1,29 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_map_map) {
|
||||
{ be_const_key(tostring, -1), be_const_func(m_tostring) },
|
||||
{ be_const_key(contains, -1), be_const_func(m_contains) },
|
||||
{ be_const_key(item, 4), be_const_func(m_item) },
|
||||
{ be_const_key(setitem, 9), be_const_func(m_setitem) },
|
||||
{ be_const_key(has, -1), be_const_func(m_contains) },
|
||||
{ be_const_key(keys, -1), be_const_func(m_keys) },
|
||||
{ be_const_key(init, -1), be_const_func(m_init) },
|
||||
{ be_const_key(remove, 5), be_const_func(m_remove) },
|
||||
{ be_const_key(size, -1), be_const_func(m_size) },
|
||||
{ be_const_key(iter, -1), be_const_func(m_iter) },
|
||||
{ be_const_key(insert, -1), be_const_func(m_insert) },
|
||||
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key(find, 8), be_const_func(m_find) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_map_map,
|
||||
13
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_map,
|
||||
1,
|
||||
NULL,
|
||||
map
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_md5_map) {
|
||||
{ be_const_key(update, -1), be_const_func(m_md5_update) },
|
||||
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key(finish, -1), be_const_func(m_md5_finish) },
|
||||
{ be_const_key(init, 1), be_const_func(m_md5_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_md5_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_md5,
|
||||
1,
|
||||
NULL,
|
||||
MD5
|
||||
);
|
|
@ -1,24 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_range_map) {
|
||||
{ be_const_key(setrange, -1), be_const_func(m_setrange) },
|
||||
{ be_const_key(iter, -1), be_const_func(m_iter) },
|
||||
{ be_const_key(lower, -1), be_const_func(m_lower) },
|
||||
{ be_const_key(init, 4), be_const_func(m_init) },
|
||||
{ be_const_key(__upper__, -1), be_const_var(0) },
|
||||
{ be_const_key(tostring, -1), be_const_func(m_tostring) },
|
||||
{ be_const_key(__lower__, -1), be_const_var(1) },
|
||||
{ be_const_key(upper, 1), be_const_func(m_upper) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_range_map,
|
||||
8
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_range,
|
||||
2,
|
||||
NULL,
|
||||
range
|
||||
);
|
|
@ -1,47 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_serial_map) {
|
||||
{ be_const_key(SERIAL_5E2, 3), be_const_int(SERIAL_5E2) },
|
||||
{ be_const_key(SERIAL_8E1, -1), be_const_int(SERIAL_8E1) },
|
||||
{ be_const_key(SERIAL_8O1, 22), be_const_int(SERIAL_8O1) },
|
||||
{ be_const_key(SERIAL_5O1, -1), be_const_int(SERIAL_5O1) },
|
||||
{ be_const_key(read, 0), be_const_func(b_serial_read) },
|
||||
{ be_const_key(flush, -1), be_const_func(b_serial_flush) },
|
||||
{ be_const_key(SERIAL_7E2, -1), be_const_int(SERIAL_7E2) },
|
||||
{ be_const_key(SERIAL_5N2, -1), be_const_int(SERIAL_5N2) },
|
||||
{ be_const_key(SERIAL_6N2, -1), be_const_int(SERIAL_6N2) },
|
||||
{ be_const_key(SERIAL_6E2, -1), be_const_int(SERIAL_6E2) },
|
||||
{ be_const_key(available, -1), be_const_func(b_serial_available) },
|
||||
{ be_const_key(SERIAL_6N1, 12), be_const_int(SERIAL_6N1) },
|
||||
{ be_const_key(SERIAL_7O1, -1), be_const_int(SERIAL_7O1) },
|
||||
{ be_const_key(SERIAL_7N1, 14), be_const_int(SERIAL_7N1) },
|
||||
{ be_const_key(SERIAL_6O1, -1), be_const_int(SERIAL_6O1) },
|
||||
{ be_const_key(SERIAL_6E1, -1), be_const_int(SERIAL_6E1) },
|
||||
{ be_const_key(write, -1), be_const_func(b_serial_write) },
|
||||
{ be_const_key(SERIAL_8O2, -1), be_const_int(SERIAL_8O2) },
|
||||
{ be_const_key(SERIAL_5O2, 24), be_const_int(SERIAL_5O2) },
|
||||
{ be_const_key(SERIAL_5E1, 26), be_const_int(SERIAL_5E1) },
|
||||
{ be_const_key(deinit, -1), be_const_func(b_serial_deinit) },
|
||||
{ be_const_key(SERIAL_5N1, -1), be_const_int(SERIAL_5N1) },
|
||||
{ be_const_key(SERIAL_8N1, 1), be_const_int(SERIAL_8N1) },
|
||||
{ be_const_key(SERIAL_7E1, -1), be_const_int(SERIAL_7E1) },
|
||||
{ be_const_key(SERIAL_8N2, -1), be_const_int(SERIAL_8N2) },
|
||||
{ be_const_key(_X2Ep, 8), be_const_var(0) },
|
||||
{ be_const_key(SERIAL_8E2, -1), be_const_int(SERIAL_8E2) },
|
||||
{ be_const_key(SERIAL_7O2, -1), be_const_int(SERIAL_7O2) },
|
||||
{ be_const_key(SERIAL_7N2, -1), be_const_int(SERIAL_7N2) },
|
||||
{ be_const_key(init, -1), be_const_func(b_serial_init) },
|
||||
{ be_const_key(SERIAL_6O2, 9), be_const_int(SERIAL_6O2) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_serial_map,
|
||||
31
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_serial,
|
||||
1,
|
||||
NULL,
|
||||
serial
|
||||
);
|
|
@ -1,104 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_tasmota_map) {
|
||||
{ be_const_key(run_deferred, -1), be_const_closure(Tasmota_run_deferred_closure) },
|
||||
{ be_const_key(_drivers, 42), be_const_var(0) },
|
||||
{ be_const_key(gc, -1), be_const_closure(Tasmota_gc_closure) },
|
||||
{ be_const_key(strftime, -1), be_const_func(l_strftime) },
|
||||
{ be_const_key(web_send_decimal, 49), be_const_func(l_webSendDecimal) },
|
||||
{ be_const_key(yield, -1), be_const_func(l_yield) },
|
||||
{ be_const_key(remove_cmd, -1), be_const_closure(Tasmota_remove_cmd_closure) },
|
||||
{ be_const_key(add_rule, -1), be_const_closure(Tasmota_add_rule_closure) },
|
||||
{ be_const_key(find_op, 50), be_const_closure(Tasmota_find_op_closure) },
|
||||
{ be_const_key(try_rule, 68), be_const_closure(Tasmota_try_rule_closure) },
|
||||
{ be_const_key(cmd_res, -1), be_const_var(1) },
|
||||
{ be_const_key(eth, -1), be_const_func(l_eth) },
|
||||
{ be_const_key(time_dump, -1), be_const_func(l_time_dump) },
|
||||
{ be_const_key(chars_in_string, -1), be_const_closure(Tasmota_chars_in_string_closure) },
|
||||
{ be_const_key(global, 38), be_const_var(2) },
|
||||
{ be_const_key(millis, 19), be_const_func(l_millis) },
|
||||
{ be_const_key(settings, -1), be_const_var(3) },
|
||||
{ be_const_key(fast_loop, -1), be_const_closure(Tasmota_fast_loop_closure) },
|
||||
{ be_const_key(set_light, -1), be_const_closure(Tasmota_set_light_closure) },
|
||||
{ be_const_key(remove_fast_loop, -1), be_const_closure(Tasmota_remove_fast_loop_closure) },
|
||||
{ be_const_key(get_switch, 13), be_const_func(l_getswitch) },
|
||||
{ be_const_key(_debug_present, 58), be_const_var(4) },
|
||||
{ be_const_key(_cmd, -1), be_const_func(l_cmd) },
|
||||
{ be_const_key(remove_timer, 2), be_const_closure(Tasmota_remove_timer_closure) },
|
||||
{ be_const_key(publish, -1), be_const_func(l_publish) },
|
||||
{ be_const_key(arch, -1), be_const_func(l_arch) },
|
||||
{ be_const_key(_settings_def, -1), be_const_comptr(&be_tasmota_settings_struct) },
|
||||
{ be_const_key(add_driver, -1), be_const_closure(Tasmota_add_driver_closure) },
|
||||
{ be_const_key(_timers, 11), be_const_var(5) },
|
||||
{ be_const_key(add_cron, -1), be_const_closure(Tasmota_add_cron_closure) },
|
||||
{ be_const_key(scale_uint, -1), be_const_func(l_scaleuint) },
|
||||
{ be_const_key(check_not_method, -1), be_const_closure(Tasmota_check_not_method_closure) },
|
||||
{ be_const_key(web_send, 63), be_const_func(l_webSend) },
|
||||
{ be_const_key(get_option, -1), be_const_func(l_getoption) },
|
||||
{ be_const_key(time_str, -1), be_const_closure(Tasmota_time_str_closure) },
|
||||
{ be_const_key(response_append, 26), be_const_func(l_respAppend) },
|
||||
{ be_const_key(_fl, -1), be_const_var(6) },
|
||||
{ be_const_key(get_free_heap, -1), be_const_func(l_getFreeHeap) },
|
||||
{ be_const_key(_settings_ptr, -1), be_const_comptr(&Settings) },
|
||||
{ be_const_key(exec_cmd, -1), be_const_closure(Tasmota_exec_cmd_closure) },
|
||||
{ be_const_key(rtc, 18), be_const_func(l_rtc) },
|
||||
{ be_const_key(read_sensors, 52), be_const_func(l_read_sensors) },
|
||||
{ be_const_key(exec_tele, -1), be_const_closure(Tasmota_exec_tele_closure) },
|
||||
{ be_const_key(_crons, 51), be_const_var(7) },
|
||||
{ be_const_key(publish_result, 34), be_const_func(l_publish_result) },
|
||||
{ be_const_key(hs2rgb, -1), be_const_closure(Tasmota_hs2rgb_closure) },
|
||||
{ be_const_key(memory, -1), be_const_func(l_memory) },
|
||||
{ be_const_key(wire1, -1), be_const_var(8) },
|
||||
{ be_const_key(remove_driver, -1), be_const_closure(Tasmota_remove_driver_closure) },
|
||||
{ be_const_key(get_light, -1), be_const_closure(Tasmota_get_light_closure) },
|
||||
{ be_const_key(wifi, -1), be_const_func(l_wifi) },
|
||||
{ be_const_key(run_cron, -1), be_const_closure(Tasmota_run_cron_closure) },
|
||||
{ be_const_key(load, -1), be_const_closure(Tasmota_load_closure) },
|
||||
{ be_const_key(wire_scan, 72), be_const_closure(Tasmota_wire_scan_closure) },
|
||||
{ be_const_key(find_key_i, 76), be_const_closure(Tasmota_find_key_i_closure) },
|
||||
{ be_const_key(resp_cmnd_error, -1), be_const_func(l_respCmndError) },
|
||||
{ be_const_key(get_power, 69), be_const_func(l_getpower) },
|
||||
{ be_const_key(_global_def, 56), be_const_comptr(&be_tasmota_global_struct) },
|
||||
{ be_const_key(_ccmd, 60), be_const_var(9) },
|
||||
{ be_const_key(cmd, 12), be_const_closure(Tasmota_cmd_closure) },
|
||||
{ be_const_key(set_timer, -1), be_const_closure(Tasmota_set_timer_closure) },
|
||||
{ be_const_key(resolvecmnd, 9), be_const_func(l_resolveCmnd) },
|
||||
{ be_const_key(wire2, 5), be_const_var(10) },
|
||||
{ be_const_key(get_switches, -1), be_const_func(l_getswitch) },
|
||||
{ be_const_key(remove_rule, 53), be_const_closure(Tasmota_remove_rule_closure) },
|
||||
{ be_const_key(next_cron, -1), be_const_closure(Tasmota_next_cron_closure) },
|
||||
{ be_const_key(resp_cmnd, -1), be_const_func(l_respCmnd) },
|
||||
{ be_const_key(publish_rule, -1), be_const_func(l_publish_rule) },
|
||||
{ be_const_key(set_power, 70), be_const_func(l_setpower) },
|
||||
{ be_const_key(strptime, -1), be_const_func(l_strptime) },
|
||||
{ be_const_key(time_reached, -1), be_const_func(l_timereached) },
|
||||
{ be_const_key(gen_cb, -1), be_const_closure(Tasmota_gen_cb_closure) },
|
||||
{ be_const_key(delay, -1), be_const_func(l_delay) },
|
||||
{ be_const_key(_rules, 33), be_const_var(11) },
|
||||
{ be_const_key(resp_cmnd_failed, -1), be_const_func(l_respCmndFailed) },
|
||||
{ be_const_key(init, -1), be_const_closure(Tasmota_init_closure) },
|
||||
{ be_const_key(wd, -1), be_const_var(12) },
|
||||
{ be_const_key(remove_cron, -1), be_const_closure(Tasmota_remove_cron_closure) },
|
||||
{ be_const_key(log, -1), be_const_func(l_logInfo) },
|
||||
{ be_const_key(add_cmd, -1), be_const_closure(Tasmota_add_cmd_closure) },
|
||||
{ be_const_key(save, -1), be_const_func(l_save) },
|
||||
{ be_const_key(_global_addr, 78), be_const_comptr(&TasmotaGlobal) },
|
||||
{ be_const_key(add_fast_loop, 77), be_const_closure(Tasmota_add_fast_loop_closure) },
|
||||
{ be_const_key(resp_cmnd_done, 47), be_const_func(l_respCmndDone) },
|
||||
{ be_const_key(exec_rules, -1), be_const_closure(Tasmota_exec_rules_closure) },
|
||||
{ be_const_key(i2c_enabled, -1), be_const_func(l_i2cenabled) },
|
||||
{ be_const_key(resp_cmnd_str, 17), be_const_func(l_respCmndStr) },
|
||||
{ be_const_key(event, -1), be_const_closure(Tasmota_event_closure) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_tasmota_map,
|
||||
88
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_tasmota,
|
||||
13,
|
||||
NULL,
|
||||
Tasmota
|
||||
);
|
|
@ -1,19 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_tasmota_log_reader_map) {
|
||||
{ be_const_key(get_log, 1), be_const_ctype_func(tlr_get_log) },
|
||||
{ be_const_key(init, -1), be_const_ctype_func(tlr_init) },
|
||||
{ be_const_key(_p, -1), be_const_var(0) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_tasmota_log_reader_map,
|
||||
3
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_tasmota_log_reader,
|
||||
1,
|
||||
NULL,
|
||||
tasmota_log_reader
|
||||
);
|
|
@ -1,26 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_tcpclient_map) {
|
||||
{ be_const_key(deinit, -1), be_const_func(wc_tcp_deinit) },
|
||||
{ be_const_key(close, -1), be_const_func(wc_tcp_close) },
|
||||
{ be_const_key(connected, 0), be_const_func(wc_tcp_connected) },
|
||||
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
||||
{ be_const_key(available, 8), be_const_func(wc_tcp_available) },
|
||||
{ be_const_key(init, -1), be_const_func(wc_tcp_init) },
|
||||
{ be_const_key(readbytes, -1), be_const_func(wc_tcp_readbytes) },
|
||||
{ be_const_key(connect, -1), be_const_func(wc_tcp_connect) },
|
||||
{ be_const_key(write, -1), be_const_func(wc_tcp_write) },
|
||||
{ be_const_key(read, 3), be_const_func(wc_tcp_read) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_tcpclient_map,
|
||||
10
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_tcpclient,
|
||||
1,
|
||||
NULL,
|
||||
tcpclient
|
||||
);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_tcpserver_map) {
|
||||
{ be_const_key(init, -1), be_const_ctype_func(tcpserver_init) },
|
||||
{ be_const_key(accept, -1), be_const_ctype_func(tcpserver_accept) },
|
||||
{ be_const_key(_p, -1), be_const_var(0) },
|
||||
{ be_const_key(close, 0), be_const_ctype_func(tcpserver_close) },
|
||||
{ be_const_key(deinit, 5), be_const_ctype_func(tcpserver_deinit) },
|
||||
{ be_const_key(hasclient, -1), be_const_ctype_func(tcpserver_hasclient) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_tcpserver_map,
|
||||
6
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_tcpserver,
|
||||
1,
|
||||
NULL,
|
||||
tcpserver
|
||||
);
|
|
@ -1,26 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_udp_map) {
|
||||
{ be_const_key(send_multicast, 6), be_const_func(be_udp_send_mcast) },
|
||||
{ be_const_key(send, -1), be_const_func(be_udp_send) },
|
||||
{ be_const_key(deinit, -1), be_const_func(be_udp_deinit) },
|
||||
{ be_const_key(remote_ip, -1), be_const_var(0) },
|
||||
{ be_const_key(read, -1), be_const_func(be_udp_read) },
|
||||
{ be_const_key(begin_multicast, 8), be_const_func(be_udp_begin_mcast) },
|
||||
{ be_const_key(begin, -1), be_const_func(be_udp_begin) },
|
||||
{ be_const_key(remote_port, -1), be_const_var(1) },
|
||||
{ be_const_key(init, -1), be_const_func(be_udp_init) },
|
||||
{ be_const_key(_X2Ep, 4), be_const_var(2) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_udp_map,
|
||||
10
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_udp,
|
||||
3,
|
||||
NULL,
|
||||
udp
|
||||
);
|
|
@ -1,33 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_webclient_map) {
|
||||
{ be_const_key(write_file, 3), be_const_func(wc_writefile) },
|
||||
{ be_const_key(begin, -1), be_const_func(wc_begin) },
|
||||
{ be_const_key(_X2Ep, 16), be_const_var(0) },
|
||||
{ be_const_key(set_useragent, -1), be_const_func(wc_set_useragent) },
|
||||
{ be_const_key(get_size, -1), be_const_func(wc_getsize) },
|
||||
{ be_const_key(set_auth, -1), be_const_func(wc_set_auth) },
|
||||
{ be_const_key(write_flash, -1), be_const_func(wc_writeflash) },
|
||||
{ be_const_key(get_string, -1), be_const_func(wc_getstring) },
|
||||
{ be_const_key(init, -1), be_const_func(wc_init) },
|
||||
{ be_const_key(GET, 0), be_const_func(wc_GET) },
|
||||
{ be_const_key(_X2Ew, -1), be_const_var(1) },
|
||||
{ be_const_key(deinit, -1), be_const_func(wc_deinit) },
|
||||
{ be_const_key(set_timeouts, 1), be_const_func(wc_set_timeouts) },
|
||||
{ be_const_key(close, 2), be_const_func(wc_close) },
|
||||
{ be_const_key(add_header, -1), be_const_func(wc_addheader) },
|
||||
{ be_const_key(url_encode, 8), be_const_func(wc_urlencode) },
|
||||
{ be_const_key(POST, -1), be_const_func(wc_POST) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_webclient_map,
|
||||
17
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_webclient,
|
||||
2,
|
||||
NULL,
|
||||
webclient
|
||||
);
|
|
@ -1,29 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_zb_coord_ntv_map) {
|
||||
{ be_const_key_weak(zb_device, -1), be_const_class(be_class_zb_device) },
|
||||
{ be_const_key_weak(zcl_attribute, -1), be_const_class(be_class_zcl_attribute) },
|
||||
{ be_const_key_weak(item, 5), be_const_func(zc_item) },
|
||||
{ be_const_key_weak(iter, -1), be_const_func(zc_iter) },
|
||||
{ be_const_key_weak(zcl_attribute_ntv, 1), be_const_class(be_class_zcl_attribute_ntv) },
|
||||
{ be_const_key_weak(test_msg, 10), be_const_func(zigbee_test_msg) },
|
||||
{ be_const_key_weak(size, -1), be_const_ctype_func(zc_size) },
|
||||
{ be_const_key_weak(test_attr, -1), be_const_func(zigbee_test_attr) },
|
||||
{ be_const_key_weak(abort, -1), be_const_ctype_func(zc_abort) },
|
||||
{ be_const_key_weak(zcl_attribute_list, -1), be_const_class(be_class_zcl_attribute_list) },
|
||||
{ be_const_key_weak(zcl_frame, -1), be_const_class(be_class_zcl_frame) },
|
||||
{ be_const_key_weak(zcl_attribute_list_ntv, -1), be_const_class(be_class_zcl_attribute_list_ntv) },
|
||||
{ be_const_key_weak(info, 6), be_const_func(zc_info) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_zb_coord_ntv_map,
|
||||
13
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_zb_coord_ntv,
|
||||
0,
|
||||
NULL,
|
||||
zb_coord_ntv
|
||||
);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_zb_device_map) {
|
||||
{ be_const_key_weak(init, -1), be_const_ctype_func(zd_init) },
|
||||
{ be_const_key_weak(tostring, -1), be_const_closure(zb_device_tostring_closure) },
|
||||
{ be_const_key_weak(_p, -1), be_const_var(0) },
|
||||
{ be_const_key_weak(member, 0), be_const_func(zd_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_zb_device_map,
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_zb_device,
|
||||
1,
|
||||
NULL,
|
||||
zb_device
|
||||
);
|
|
@ -1,24 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_zcl_attribute_list_ntv_map) {
|
||||
{ be_const_key_weak(new_tail, -1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_new_tail) },
|
||||
{ be_const_key_weak(new_head, 0), be_const_func(&be_zigbee_zcl_attribute_list_ntv_new_head) },
|
||||
{ be_const_key_weak(_def, -1), be_const_comptr(&be_zigbee_zcl_attribute_list_struct) },
|
||||
{ be_const_key_weak(_init, 1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_init) },
|
||||
{ be_const_key_weak(size, 3), be_const_func(&be_zigbee_zcl_attribute_list_ntv_size) },
|
||||
{ be_const_key_weak(remove, 2), be_const_func(&be_zigbee_zcl_attribute_list_ntv_remove) },
|
||||
{ be_const_key_weak(item, -1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_item) },
|
||||
{ be_const_key_weak(_deinit, -1), be_const_func(&be_zigbee_zcl_attribute_list_ntv_deinit) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_zcl_attribute_list_ntv_map,
|
||||
8
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_zcl_attribute_list_ntv,
|
||||
0,
|
||||
(bclass *)&be_class_ctypes_bytes,
|
||||
zcl_attribute_list_ntv
|
||||
);
|
|
@ -1,23 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_zcl_attribute_ntv_map) {
|
||||
{ be_const_key_weak(_def, -1), be_const_comptr(&be_zigbee_zcl_attribute_struct) },
|
||||
{ be_const_key_weak(_get_val, -1), be_const_func(be_zigbee_zcl_attribute_ntv_get_val) },
|
||||
{ be_const_key_weak(_set_key, 0), be_const_func(be_zigbee_zcl_attribute_ntv_set_key) },
|
||||
{ be_const_key_weak(_deinit, -1), be_const_func(&be_zigbee_zcl_attribute_ntv_deinit) },
|
||||
{ be_const_key_weak(_set_val, -1), be_const_func(be_zigbee_zcl_attribute_ntv_set_val) },
|
||||
{ be_const_key_weak(_get_key, -1), be_const_func(be_zigbee_zcl_attribute_ntv_get_key) },
|
||||
{ be_const_key_weak(_init, 1), be_const_func(&be_zigbee_zcl_attribute_ntv_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_zcl_attribute_ntv_map,
|
||||
7
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_zcl_attribute_ntv,
|
||||
0,
|
||||
(bclass *)&be_class_ctypes_bytes,
|
||||
zcl_attribute_ntv
|
||||
);
|
|
@ -1,19 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_zcl_frame_ntv_map) {
|
||||
{ be_const_key_weak(_set_bytes, -1), be_const_ctype_func(zfn_set_bytes) },
|
||||
{ be_const_key_weak(_def, 2), be_const_comptr(&be_zigbee_zcl_frame_struct) },
|
||||
{ be_const_key_weak(_get_bytes, -1), be_const_ctype_func(zfn_get_bytes) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_zcl_frame_ntv_map,
|
||||
3
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
be_class_zcl_frame_ntv,
|
||||
0,
|
||||
(bclass *)&be_class_ctypes_bytes,
|
||||
zcl_frame_ntv
|
||||
);
|
|
@ -1,21 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libcb_map) {
|
||||
{ be_const_key(make_cb, -1), be_const_func(be_cb_make_cb) },
|
||||
{ be_const_key(list_handlers, 3), be_const_func(be_cb_list_handlers) },
|
||||
{ be_const_key(get_cb_list, -1), be_const_func(be_cb_get_cb_list) },
|
||||
{ be_const_key(gen_cb, -1), be_const_func(be_cb_gen_cb) },
|
||||
{ be_const_key(add_handler, -1), be_const_func(be_cb_add_handler) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libcb_map,
|
||||
5
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libcb,
|
||||
"cb"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(cb);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libcrc_map) {
|
||||
{ be_const_key(crc32, 1), be_const_ctype_func(c_crc32) },
|
||||
{ be_const_key(sum, -1), be_const_ctype_func(c_sum) },
|
||||
{ be_const_key(crc16, -1), be_const_ctype_func(c_crc16) },
|
||||
{ be_const_key(crc8, -1), be_const_ctype_func(c_crc8) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libcrc_map,
|
||||
4
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libcrc,
|
||||
"crc"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(crc);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libcrypto_map) {
|
||||
{ be_const_key_weak(AES_GCM, -1), be_const_class(be_class_aes_gcm) },
|
||||
{ be_const_key_weak(EC_C25519, -1), be_const_class(be_class_ec_c25519) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libcrypto_map,
|
||||
2
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libcrypto,
|
||||
"crypto"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(crypto);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libdebug_map) {
|
||||
{ be_const_key(counters, 3), be_const_func(m_counters) },
|
||||
{ be_const_key(traceback, -1), be_const_func(m_traceback) },
|
||||
{ be_const_key(attrdump, 0), be_const_func(m_attrdump) },
|
||||
{ be_const_key(calldepth, 5), be_const_func(m_calldepth) },
|
||||
{ be_const_key(top, -1), be_const_func(m_top) },
|
||||
{ be_const_key(codedump, -1), be_const_func(m_codedump) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libdebug_map,
|
||||
6
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libdebug,
|
||||
"debug"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(debug);
|
|
@ -1,21 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libdisplay_map) {
|
||||
{ be_const_key_weak(start, -1), be_const_func(be_ntv_display_start) },
|
||||
{ be_const_key_weak(started, 0), be_const_ctype_func(be_ntv_display_started) },
|
||||
{ be_const_key_weak(driver_name, -1), be_const_ctype_func(be_ntv_display_driver_name) },
|
||||
{ be_const_key_weak(touch_update, 2), be_const_ctype_func(be_ntv_display_touch_update) },
|
||||
{ be_const_key_weak(dimmer, -1), be_const_func(be_ntv_display_dimmer) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libdisplay_map,
|
||||
5
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libdisplay,
|
||||
"display"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(display);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libflash_map) {
|
||||
{ be_const_key(id, 5), be_const_ctype_func(p_flashid) },
|
||||
{ be_const_key(factory, 4), be_const_ctype_func(p_factory) },
|
||||
{ be_const_key(write, -1), be_const_func(p_flash_write) },
|
||||
{ be_const_key(read, -1), be_const_func(p_flash_read) },
|
||||
{ be_const_key(erase, -1), be_const_func(p_flash_erase) },
|
||||
{ be_const_key(size, -1), be_const_ctype_func(p_flashsize) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libflash_map,
|
||||
6
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libflash,
|
||||
"flash"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(flash);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libgc_map) {
|
||||
{ be_const_key(allocated, -1), be_const_func(m_allocated) },
|
||||
{ be_const_key(collect, -1), be_const_func(m_collect) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libgc_map,
|
||||
2
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libgc,
|
||||
"gc"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(gc);
|
|
@ -1,20 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libglobal_map) {
|
||||
{ be_const_key(contains, -1), be_const_func(m_contains) },
|
||||
{ be_const_key(setmember, -1), be_const_func(m_setglobal) },
|
||||
{ be_const_key(_X28_X29, -1), be_const_func(m_globals) },
|
||||
{ be_const_key(member, -1), be_const_func(m_findglobal) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libglobal_map,
|
||||
4
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libglobal,
|
||||
"global"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(global);
|
|
@ -1,24 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libgpio_map) {
|
||||
{ be_const_key(digital_read, -1), be_const_func(gp_digital_read) },
|
||||
{ be_const_key(digital_write, -1), be_const_func(gp_digital_write) },
|
||||
{ be_const_key(dac_voltage, -1), be_const_func(gp_dac_voltage) },
|
||||
{ be_const_key(member, 1), be_const_func(gp_member) },
|
||||
{ be_const_key(set_pwm, 5), be_const_ctype_func(gp_set_duty) },
|
||||
{ be_const_key(pin, 7), be_const_func(gp_pin) },
|
||||
{ be_const_key(pin_mode, 2), be_const_func(gp_pin_mode) },
|
||||
{ be_const_key(pin_used, -1), be_const_func(gp_pin_used) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libgpio_map,
|
||||
8
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libgpio,
|
||||
"gpio"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(gpio);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libhue_ntv_map) {
|
||||
{ be_const_key(full_state, -1), be_const_ctype_func(be_hue_light_full_state) },
|
||||
{ be_const_key(light_state, -1), be_const_ctype_func(be_hue_light_state) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libhue_ntv_map,
|
||||
2
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libhue_ntv,
|
||||
"hue_ntv"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(hue_ntv);
|
|
@ -1,23 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libintrospect_map) {
|
||||
{ be_const_key(ismethod, -1), be_const_func(m_ismethod) },
|
||||
{ be_const_key(toptr, -1), be_const_func(m_toptr) },
|
||||
{ be_const_key(get, -1), be_const_func(m_findmember) },
|
||||
{ be_const_key(module, 5), be_const_func(m_getmodule) },
|
||||
{ be_const_key(fromptr, 1), be_const_func(m_fromptr) },
|
||||
{ be_const_key(members, -1), be_const_func(m_attrlist) },
|
||||
{ be_const_key(set, 3), be_const_func(m_setmember) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libintrospect_map,
|
||||
7
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libintrospect,
|
||||
"introspect"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(introspect);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libjson_map) {
|
||||
{ be_const_key(dump, -1), be_const_func(m_json_dump) },
|
||||
{ be_const_key(load, 0), be_const_func(m_json_load) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libjson_map,
|
||||
2
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libjson,
|
||||
"json"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(json);
|
|
@ -1,21 +0,0 @@
|
|||
#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"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(light);
|
|
@ -1,18 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_liblv_map) {
|
||||
{ be_const_key(init, -1), be_const_closure(lv_lv_module_init_closure) },
|
||||
{ be_const_key(member, 0), be_const_func(lv0_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_liblv_map,
|
||||
2
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_liblv,
|
||||
"lv"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(lv);
|
|
@ -1,29 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_liblv_tasmota_map) {
|
||||
{ be_const_key_weak(load_freetype_font, -1), be_const_func(lv0_load_freetype_font) },
|
||||
{ be_const_key_weak(seg7_font, -1), be_const_func(lv0_load_seg7_font) },
|
||||
{ be_const_key_weak(screenshot, 11), be_const_func(lv0_screenshot) },
|
||||
{ be_const_key_weak(font_seg7, 1), be_const_func(lv0_load_seg7_font) },
|
||||
{ be_const_key_weak(splash_init, 0), be_const_closure(lv_tasmota_splash_init_closure) },
|
||||
{ be_const_key_weak(register_button_encoder, -1), be_const_func(lv0_register_button_encoder) },
|
||||
{ be_const_key_weak(init, 7), be_const_closure(lv_tasmota_init_closure) },
|
||||
{ be_const_key_weak(splash_remove, -1), be_const_closure(lv_tasmota_splash_remove_closure) },
|
||||
{ be_const_key_weak(start, -1), be_const_func(lv0_start) },
|
||||
{ be_const_key_weak(font_montserrat, -1), be_const_func(lv0_load_montserrat_font) },
|
||||
{ be_const_key_weak(font_embedded, -1), be_const_func(lv0_load_font_embedded) },
|
||||
{ be_const_key_weak(montserrat_font, -1), be_const_func(lv0_load_montserrat_font) },
|
||||
{ be_const_key_weak(splash, 10), be_const_closure(lv_tasmota_splash_closure) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_liblv_tasmota_map,
|
||||
13
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_liblv_tasmota,
|
||||
"lv_tasmota"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(lv_tasmota);
|
|
@ -1,66 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_builtin_map) {
|
||||
{ be_const_key(number, 23), be_const_int(7) },
|
||||
{ be_const_key(call, -1), be_const_int(22) },
|
||||
{ be_const_key(range, -1), be_const_int(20) },
|
||||
{ be_const_key(input, -1), be_const_int(2) },
|
||||
{ be_const_key(bytes, 11), be_const_int(21) },
|
||||
{ be_const_key(issubclass, -1), be_const_int(14) },
|
||||
{ be_const_key(compile, -1), be_const_int(13) },
|
||||
{ be_const_key(open, 22), be_const_int(17) },
|
||||
{ be_const_key(module, 17), be_const_int(11) },
|
||||
{ be_const_key(list, 7), be_const_int(18) },
|
||||
{ be_const_key(isinstance, -1), be_const_int(15) },
|
||||
{ be_const_key(classname, 20), be_const_int(5) },
|
||||
{ be_const_key(size, -1), be_const_int(12) },
|
||||
{ be_const_key(real, -1), be_const_int(10) },
|
||||
{ be_const_key(int, -1), be_const_int(9) },
|
||||
{ be_const_key(__iterator__, 5), be_const_int(16) },
|
||||
{ be_const_key(str, -1), be_const_int(8) },
|
||||
{ be_const_key(bool, -1), be_const_int(23) },
|
||||
{ be_const_key(classof, -1), be_const_int(6) },
|
||||
{ be_const_key(assert, -1), be_const_int(0) },
|
||||
{ be_const_key(super, -1), be_const_int(3) },
|
||||
{ be_const_key(type, 8), be_const_int(4) },
|
||||
{ be_const_key(map, -1), be_const_int(19) },
|
||||
{ be_const_key(print, -1), be_const_int(1) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_builtin_map,
|
||||
24
|
||||
);
|
||||
|
||||
static const bvalue __vlist_array[] = {
|
||||
be_const_func(l_assert),
|
||||
be_const_func(l_print),
|
||||
be_const_func(l_input),
|
||||
be_const_func(l_super),
|
||||
be_const_func(l_type),
|
||||
be_const_func(l_classname),
|
||||
be_const_func(l_classof),
|
||||
be_const_func(l_number),
|
||||
be_const_func(l_str),
|
||||
be_const_func(l_int),
|
||||
be_const_func(l_real),
|
||||
be_const_func(l_module),
|
||||
be_const_func(l_size),
|
||||
be_const_func(l_compile),
|
||||
be_const_func(l_issubclass),
|
||||
be_const_func(l_isinstance),
|
||||
be_const_func(l_iterator),
|
||||
be_const_func(be_nfunc_open),
|
||||
be_const_class(be_class_list),
|
||||
be_const_class(be_class_map),
|
||||
be_const_class(be_class_range),
|
||||
be_const_class(be_class_bytes),
|
||||
be_const_func(l_call),
|
||||
be_const_func(l_bool),
|
||||
};
|
||||
|
||||
static be_define_const_vector(
|
||||
m_builtin_vector,
|
||||
__vlist_array,
|
||||
24
|
||||
);
|
|
@ -1,43 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libmath_map) {
|
||||
{ be_const_key(asin, 7), be_const_func(m_asin) },
|
||||
{ be_const_key(isnan, -1), be_const_func(m_isnan) },
|
||||
{ be_const_key(sinh, 22), be_const_func(m_sinh) },
|
||||
{ be_const_key(cos, -1), be_const_func(m_cos) },
|
||||
{ be_const_key(rand, -1), be_const_func(m_rand) },
|
||||
{ be_const_key(deg, -1), be_const_func(m_deg) },
|
||||
{ be_const_key(log10, 16), be_const_func(m_log10) },
|
||||
{ be_const_key(acos, -1), be_const_func(m_acos) },
|
||||
{ be_const_key(cosh, -1), be_const_func(m_cosh) },
|
||||
{ be_const_key(tanh, 21), be_const_func(m_tanh) },
|
||||
{ be_const_key(rad, 11), be_const_func(m_rad) },
|
||||
{ be_const_key(abs, -1), be_const_func(m_abs) },
|
||||
{ be_const_key(atan2, -1), be_const_func(m_atan2) },
|
||||
{ be_const_key(tan, 19), be_const_func(m_tan) },
|
||||
{ be_const_key(ceil, 15), be_const_func(m_ceil) },
|
||||
{ be_const_key(nan, -1), be_const_real(NAN) },
|
||||
{ be_const_key(imin, -1), be_const_int(M_IMIN) },
|
||||
{ be_const_key(pow, -1), be_const_func(m_pow) },
|
||||
{ be_const_key(atan, -1), be_const_func(m_atan) },
|
||||
{ be_const_key(imax, 25), be_const_int(M_IMAX) },
|
||||
{ be_const_key(exp, 17), be_const_func(m_exp) },
|
||||
{ be_const_key(log, 1), be_const_func(m_log) },
|
||||
{ be_const_key(sqrt, -1), be_const_func(m_sqrt) },
|
||||
{ be_const_key(srand, -1), be_const_func(m_srand) },
|
||||
{ be_const_key(floor, -1), be_const_func(m_floor) },
|
||||
{ be_const_key(sin, -1), be_const_func(m_sin) },
|
||||
{ be_const_key(pi, 8), be_const_real(M_PI) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libmath_map,
|
||||
27
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libmath,
|
||||
"math"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(math);
|
|
@ -1,22 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libmqtt_map) {
|
||||
{ be_const_key(unsubscribe, -1), be_const_closure(unsubscribe_closure) },
|
||||
{ be_const_key(subscribe, -1), be_const_closure(subscribe_closure) },
|
||||
{ be_const_key(publish, 3), be_const_func(be_mqtt_publish) },
|
||||
{ be_const_key(_, -1), be_const_closure(__closure) },
|
||||
{ be_const_key(_subscribe, -1), be_const_ctype_func(be_mqtt_subscribe) },
|
||||
{ be_const_key(_unsubscribe, 1), be_const_ctype_func(be_mqtt_unsubscribe) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libmqtt_map,
|
||||
6
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libmqtt,
|
||||
"mqtt"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(mqtt);
|
|
@ -1,2 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libsolidify_map) {
|
||||
{ be_const_key(dump, -1), be_const_func(m_dump) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libsolidify_map,
|
||||
1
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libsolidify,
|
||||
"solidify"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(solidify);
|
|
@ -1,17 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libstrict_map) {
|
||||
{ be_const_key(init, -1), be_const_func(m_init) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libstrict_map,
|
||||
1
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libstrict,
|
||||
"strict"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(strict);
|
|
@ -1,28 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libstring_map) {
|
||||
{ be_const_key(count, 4), be_const_func(str_count) },
|
||||
{ be_const_key(byte, 6), be_const_func(str_byte) },
|
||||
{ be_const_key(format, 8), be_const_func(str_format) },
|
||||
{ be_const_key(split, -1), be_const_func(str_split) },
|
||||
{ be_const_key(toupper, -1), be_const_func(str_toupper) },
|
||||
{ be_const_key(char, -1), be_const_func(str_char) },
|
||||
{ be_const_key(tr, -1), be_const_func(str_tr) },
|
||||
{ be_const_key(replace, 1), be_const_func(str_replace) },
|
||||
{ be_const_key(hex, 11), be_const_func(str_i2hex) },
|
||||
{ be_const_key(tolower, 5), be_const_func(str_tolower) },
|
||||
{ be_const_key(find, -1), be_const_func(str_find) },
|
||||
{ be_const_key(escape, -1), be_const_func(str_escape) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libstring_map,
|
||||
12
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libstring,
|
||||
"string"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(string);
|
|
@ -1,17 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libsys_map) {
|
||||
{ be_const_key(path, -1), be_const_func(m_path) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libsys_map,
|
||||
1
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libsys,
|
||||
"sys"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(sys);
|
|
@ -1,21 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libpath_map) {
|
||||
{ be_const_key(listdir, 1), be_const_func(m_path_listdir) },
|
||||
{ be_const_key(last_modified, -1), be_const_func(m_path_last_modified) },
|
||||
{ be_const_key(format, -1), be_const_func(m_path_format) },
|
||||
{ be_const_key(exists, -1), be_const_func(m_path_exists) },
|
||||
{ be_const_key(remove, -1), be_const_func(m_path_remove) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libpath_map,
|
||||
5
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libpath,
|
||||
"path"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(path);
|
|
@ -1,2 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_libundefined_map) {
|
||||
{ be_const_key(_X2Ep, -1), be_const_nil() },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_libundefined_map,
|
||||
1
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
m_libundefined,
|
||||
"undefined"
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_native_module(undefined);
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue