Tasmota/lib/libesp32/Berry/generate/be_fixed_string.h

26 lines
794 B
C
Raw Normal View History

#include "be_constobj.h"
static be_define_const_map_slots(m_libstring_map) {
{ be_const_key(tolower, -1), be_const_func(str_tolower) },
{ be_const_key(count, -1), be_const_func(str_count) },
{ be_const_key(hex, -1), be_const_func(str_i2hex) },
{ be_const_key(split, 5), be_const_func(str_split) },
{ be_const_key(byte, -1), be_const_func(str_byte) },
{ be_const_key(char, 6), be_const_func(str_char) },
{ be_const_key(toupper, 1), be_const_func(str_toupper) },
{ be_const_key(find, -1), be_const_func(str_find) },
{ be_const_key(format, -1), be_const_func(str_format) },
};
static be_define_const_map(
m_libstring_map,
9
);
static be_define_const_module(
m_libstring,
"string"
);
2021-10-23 14:08:33 +01:00
BE_EXPORT_VARIABLE be_define_const_native_module(string);