mirror of https://github.com/arendst/Tasmota.git
Move matter strings to weak references (#18174)
This commit is contained in:
parent
83812f158b
commit
ded60556e2
|
@ -175,7 +175,7 @@ static int mc_tostring(bvm *vm) {
|
|||
#include "be_fixed_be_class_Matter_Counter.h"
|
||||
|
||||
/* @const_object_info_begin
|
||||
class be_class_Matter_Counter (scope: global, name: Matter_Counter) {
|
||||
class be_class_Matter_Counter (scope: global, name: Matter_Counter, strings: weak) {
|
||||
_p, var
|
||||
init, ctype_func(mc_init)
|
||||
deinit, ctype_func(mc_deinit)
|
||||
|
|
|
@ -175,7 +175,7 @@ static int matter_CD_FFF1_8000(bvm *vm) { return matter_return_static_bytes(vm,
|
|||
|
||||
/* @const_object_info_begin
|
||||
|
||||
module matter (scope: global) {
|
||||
module matter (scope: global, strings: weak) {
|
||||
_LOGO, comptr(MATTER_LOGO)
|
||||
_QRCODE_MINJS, comptr(QRCODE_MINJS)
|
||||
MATTER_OPTION, int(151) // SetOption151 enables Matter
|
||||
|
|
|
@ -85,7 +85,7 @@ BE_FUNC_CTYPE_DECLARE(vh_validate, "b", "s")
|
|||
#include "be_fixed_be_class_Matter_Verhoeff.h"
|
||||
|
||||
/* @const_object_info_begin
|
||||
class be_class_Matter_Verhoeff (scope: global, name: Matter_Verhoeff) {
|
||||
class be_class_Matter_Verhoeff (scope: global, name: Matter_Verhoeff, strings: weak) {
|
||||
checksum, static_ctype_func(vh_checksum)
|
||||
validate, static_ctype_func(vh_validate)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue