Berry remove mdns.stop() (#24549)

This commit is contained in:
s-hadinger
2026-03-13 22:49:20 +01:00
committed by GitHub
parent da48786bf9
commit ac782acef9
3 changed files with 1 additions and 12 deletions
+1
View File
@@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file.
- Crash when shutting down Wifi with `Wifi 0` (#24536)
### Removed
- Berry remove `mdns.stop()`
## [15.3.0.1] 20260308
### Added
@@ -14,9 +14,6 @@
extern void m_mdns_start(struct bvm *vm, const char* hostname);
BE_FUNC_CTYPE_DECLARE(m_mdns_start, "", "@[s]")
extern void m_mdns_stop(void);
BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "")
extern void m_mdns_set_hostname(struct bvm *vm, const char * hostname);
BE_FUNC_CTYPE_DECLARE(m_mdns_set_hostname, "", "@s")
@@ -29,7 +26,6 @@ extern int m_dns_find_service(struct bvm *vm);
/* @const_object_info_begin
module mdns (scope: global) {
start, ctype_func(m_mdns_start)
stop, ctype_func(m_mdns_stop)
set_hostname, ctype_func(m_mdns_set_hostname)
add_service, func(m_mdns_add_service)
add_hostname, func(m_dns_add_hostname)
@@ -45,14 +45,6 @@ extern "C" {
}
BE_FUNC_CTYPE_DECLARE(m_mdns_start, "", "@[s]")
//
// `msdn.stop() -> nil`
// free all mdns resources
void m_mdns_stop(void) {
mdns_free();
}
BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "")
//
// `mdns.set_hostname(hostname:string) -> nil`
// change the hostname