app/modules: prune some unnecessary metamethods
This commit is contained in:
parent
d480003a40
commit
c8c90fe4e1
|
@ -1758,7 +1758,6 @@ LROT_BEGIN(mqtt)
|
|||
LROT_NUMENTRY( CONNACK_REFUSED_BAD_USER_OR_PASS, MQTT_CONNACK_REFUSED_BAD_USER_OR_PASS )
|
||||
LROT_NUMENTRY( CONNACK_REFUSED_NOT_AUTHORIZED, MQTT_CONNACK_REFUSED_NOT_AUTHORIZED )
|
||||
|
||||
LROT_TABENTRY( __metatable, mqtt )
|
||||
LROT_END( mqtt, mqtt, 0 )
|
||||
|
||||
|
||||
|
|
|
@ -1064,7 +1064,6 @@ LROT_BEGIN(net)
|
|||
LROT_FUNCENTRY( multicastJoin, net_multicastJoin )
|
||||
LROT_FUNCENTRY( multicastLeave, net_multicastLeave )
|
||||
LROT_TABENTRY( dns, net_dns )
|
||||
LROT_TABENTRY( __metatable, net )
|
||||
LROT_END( net, net, 0 )
|
||||
|
||||
|
||||
|
|
|
@ -641,7 +641,6 @@ LROT_END( tls_socket, tls_socket, 0 )
|
|||
LROT_PUBLIC_BEGIN(tls_cert)
|
||||
LROT_FUNCENTRY( verify, tls_cert_verify )
|
||||
LROT_FUNCENTRY( auth, tls_cert_auth )
|
||||
LROT_TABENTRY( __index, tls_cert )
|
||||
LROT_END( tls_cert, tls_cert, 0 )
|
||||
|
||||
|
||||
|
@ -651,7 +650,6 @@ LROT_BEGIN(tls)
|
|||
LROT_FUNCENTRY( setDebug, tls_set_debug_threshold )
|
||||
#endif
|
||||
LROT_TABENTRY( cert, tls_cert )
|
||||
LROT_TABENTRY( __metatable, tls )
|
||||
LROT_END( tls, tls, 0 )
|
||||
|
||||
|
||||
|
|
|
@ -1909,7 +1909,6 @@ LROT_BEGIN(wifi_ap)
|
|||
LROT_FUNCENTRY( getconfig, wifi_ap_getconfig_current )
|
||||
LROT_FUNCENTRY( getdefaultconfig, wifi_ap_getconfig_default )
|
||||
LROT_TABENTRY( dhcp, wifi_ap_dhcp )
|
||||
// LROT_TABENTRY( __metatable, wifi_ap )
|
||||
LROT_END( wifi_ap, wifi_ap, 0 )
|
||||
|
||||
|
||||
|
@ -1969,7 +1968,6 @@ LROT_BEGIN(wifi)
|
|||
LROT_NUMENTRY( COUNTRY_AUTO, WIFI_COUNTRY_POLICY_AUTO )
|
||||
LROT_NUMENTRY( COUNTRY_MANUAL, WIFI_COUNTRY_POLICY_MANUAL )
|
||||
|
||||
LROT_TABENTRY( __metatable, wifi )
|
||||
LROT_END( wifi, wifi, 0 )
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue