1
0
Fork 0
forked from len0rd/rockbox

lua rocklib_img optimize functions with multiple checkint calls

Uses int arrays and calls luaL_checkint in a loop

Change-Id: Ib73dab886f018c787bd995f64d990981d194069f
This commit is contained in:
William Wilgus 2019-07-29 04:41:56 -05:00
parent 90118f14cf
commit 138a4f9d3d
2 changed files with 105 additions and 67 deletions

View file

@ -77,6 +77,7 @@ my @forbidden_functions = ('^open$',
'^utf16',
'^codec_',
'^timer_',
'^lcd_blit_(mono|grey_phase)$',
'^lcd_(mono_)?+bitmap',
'^lcd_(draw|fill|update_)rect$',
'^lcd_draw(line|pixel)$',