summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklib_aux.pl
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-07-28 07:26:20 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-07-28 07:29:10 -0500
commitddf612c84b558bc3343d413c04cdddf59b23a2ed (patch)
treefd685cd5bcf2a370a2d4823d58f046ccec8d4797 /apps/plugins/lua/rocklib_aux.pl
parentfd20114eb2b2148d368f954a38bbf72748956216 (diff)
downloadrockbox-ddf612c84b558bc3343d413c04cdddf59b23a2ed.zip
rockbox-ddf612c84b558bc3343d413c04cdddf59b23a2ed.tar.gz
rockbox-ddf612c84b558bc3343d413c04cdddf59b23a2ed.tar.bz2
rockbox-ddf612c84b558bc3343d413c04cdddf59b23a2ed.tar.xz
lua remove unneeded plugin functions
Change-Id: I04bc38d03b7f0ca65a815685eb6ab0f5ff825c45
Diffstat (limited to 'apps/plugins/lua/rocklib_aux.pl')
-rwxr-xr-xapps/plugins/lua/rocklib_aux.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl
index c059801..542a928 100755
--- a/apps/plugins/lua/rocklib_aux.pl
+++ b/apps/plugins/lua/rocklib_aux.pl
@@ -53,6 +53,7 @@ my @ported_functions;
my @forbidden_functions = ('^open$',
'^open_utf8$',
'^close$',
+ 'dcache',
'^read$',
'^write$',
'^mkdir$',
@@ -101,7 +102,13 @@ my @forbidden_functions = ('^open$',
'^pcm_(set_frequency|calculate_peaks)$',
'^sound_(set|current|default|min|max|unit|pitch|val2phys)$',
'^mixer_(set|get)_frequency$',
+ '^rock_plugin_get_current_filename$',
+ '^plugin_release_audio_buffer$',
+ '^reload_directory$',
+ '^set_current_file$',
+ '^set_dirfilter$',
'^(trigger|cancel)_cpu_boost$',
+ '^thread_',
'^round_value_to_list32$');
my $rocklib = sprintf("%s/rocklib.c", $ARGV[0]);