LVGL cleaning unused definitions (#20957)

This commit is contained in:
s-hadinger 2024-03-14 22:37:55 +01:00 committed by GitHub
parent 1a462c986c
commit 95f7d33c20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 1274 deletions

View File

@ -901,20 +901,6 @@ extern int lvbe_theme_create(bvm *vm);
""") """)
# expose all extern definitions: # expose all extern definitions:
# Ex:
#
# /* `lv_canvas` external functions definitions */
# extern int lvbe_canvas_create(bvm *vm);
# extern int lvbe_canvas_set_buffer(bvm *vm);
# ...
#
for subtype, flv in lv.items():
print(f"/* `lv_{subtype}` external functions definitions */")
for f in sorted(flv, key=lambda x: x.be_name):
print(f"extern int {f.c_func_name}(bvm *vm);")
print()
for subtype, flv in lv.items(): for subtype, flv in lv.items():
print(f"""extern int be_ntv_lv_{subtype}_init(bvm *vm);""") print(f"""extern int be_ntv_lv_{subtype}_init(bvm *vm);""")