Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
c8c90fe4
"tests/vscode:/vscode.git/clone" did not exist on "fcebd9b0f9a7b1f78abaf556e9d1a8f3b857e614"
Commit
c8c90fe4
authored
Apr 07, 2020
by
Nathaniel Wesley Filardo
Committed by
Marcel Stör
Jun 09, 2020
Browse files
app/modules: prune some unnecessary metamethods
parent
d480003a
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/modules/mqtt.c
View file @
c8c90fe4
...
...
@@ -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
)
...
...
app/modules/net.c
View file @
c8c90fe4
...
...
@@ -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
)
...
...
app/modules/tls.c
View file @
c8c90fe4
...
...
@@ -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
)
...
...
app/modules/wifi.c
View file @
c8c90fe4
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment