Move matter strings to weak references (#18174)

This commit is contained in:
s-hadinger 2023-03-12 19:01:02 +01:00 committed by GitHub
parent 83812f158b
commit ded60556e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ static int mc_tostring(bvm *vm) {
#include "be_fixed_be_class_Matter_Counter.h" #include "be_fixed_be_class_Matter_Counter.h"
/* @const_object_info_begin /* @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 _p, var
init, ctype_func(mc_init) init, ctype_func(mc_init)
deinit, ctype_func(mc_deinit) deinit, ctype_func(mc_deinit)

View File

@ -175,7 +175,7 @@ static int matter_CD_FFF1_8000(bvm *vm) { return matter_return_static_bytes(vm,
/* @const_object_info_begin /* @const_object_info_begin
module matter (scope: global) { module matter (scope: global, strings: weak) {
_LOGO, comptr(MATTER_LOGO) _LOGO, comptr(MATTER_LOGO)
_QRCODE_MINJS, comptr(QRCODE_MINJS) _QRCODE_MINJS, comptr(QRCODE_MINJS)
MATTER_OPTION, int(151) // SetOption151 enables Matter MATTER_OPTION, int(151) // SetOption151 enables Matter

View File

@ -85,7 +85,7 @@ BE_FUNC_CTYPE_DECLARE(vh_validate, "b", "s")
#include "be_fixed_be_class_Matter_Verhoeff.h" #include "be_fixed_be_class_Matter_Verhoeff.h"
/* @const_object_info_begin /* @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) checksum, static_ctype_func(vh_checksum)
validate, static_ctype_func(vh_validate) validate, static_ctype_func(vh_validate)
} }