We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d9f082 commit 81b046aCopy full SHA for 81b046a
1 file changed
app/modules/pixbuf.c
@@ -680,10 +680,13 @@ static int pixbuf_tostring_lua(lua_State *L) {
680
}
681
682
LROT_BEGIN(pixbuf_map, NULL, LROT_MASK_INDEX | LROT_MASK_EQ)
683
- LROT_TABENTRY ( __index, pixbuf_map )
684
- LROT_FUNCENTRY( __eq, pixbuf_eq_lua )
685
-
+ /* https://nodemcu.readthedocs.io/en/dev/lua53/#rotables notes:
+ * "Some ordering limitations apply", namely that entries beginning
+ * with '__' must be first and must be sorted.
686
+ */
687
LROT_FUNCENTRY( __concat, pixbuf_concat_lua )
688
+ LROT_FUNCENTRY( __eq, pixbuf_eq_lua )
689
+ LROT_TABENTRY ( __index, pixbuf_map )
690
LROT_FUNCENTRY( __tostring, pixbuf_tostring_lua )
691
692
LROT_FUNCENTRY( channels, pixbuf_channels_lua )
0 commit comments