diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-07-28 07:26:20 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2019-07-28 07:29:10 -0500 |
commit | ddf612c84b558bc3343d413c04cdddf59b23a2ed (patch) | |
tree | fd685cd5bcf2a370a2d4823d58f046ccec8d4797 /apps/plugins/lua/rocklib_aux.pl | |
parent | fd20114eb2b2148d368f954a38bbf72748956216 (diff) | |
download | rockbox-ddf612c84b558bc3343d413c04cdddf59b23a2ed.tar.gz rockbox-ddf612c84b558bc3343d413c04cdddf59b23a2ed.zip |
lua remove unneeded plugin functions
Change-Id: I04bc38d03b7f0ca65a815685eb6ab0f5ff825c45
Diffstat (limited to 'apps/plugins/lua/rocklib_aux.pl')
-rwxr-xr-x | apps/plugins/lua/rocklib_aux.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl index c059801b8b..542a928a12 100755 --- a/apps/plugins/lua/rocklib_aux.pl +++ b/apps/plugins/lua/rocklib_aux.pl | |||
@@ -53,6 +53,7 @@ my @ported_functions; | |||
53 | my @forbidden_functions = ('^open$', | 53 | my @forbidden_functions = ('^open$', |
54 | '^open_utf8$', | 54 | '^open_utf8$', |
55 | '^close$', | 55 | '^close$', |
56 | 'dcache', | ||
56 | '^read$', | 57 | '^read$', |
57 | '^write$', | 58 | '^write$', |
58 | '^mkdir$', | 59 | '^mkdir$', |
@@ -101,7 +102,13 @@ my @forbidden_functions = ('^open$', | |||
101 | '^pcm_(set_frequency|calculate_peaks)$', | 102 | '^pcm_(set_frequency|calculate_peaks)$', |
102 | '^sound_(set|current|default|min|max|unit|pitch|val2phys)$', | 103 | '^sound_(set|current|default|min|max|unit|pitch|val2phys)$', |
103 | '^mixer_(set|get)_frequency$', | 104 | '^mixer_(set|get)_frequency$', |
105 | '^rock_plugin_get_current_filename$', | ||
106 | '^plugin_release_audio_buffer$', | ||
107 | '^reload_directory$', | ||
108 | '^set_current_file$', | ||
109 | '^set_dirfilter$', | ||
104 | '^(trigger|cancel)_cpu_boost$', | 110 | '^(trigger|cancel)_cpu_boost$', |
111 | '^thread_', | ||
105 | '^round_value_to_list32$'); | 112 | '^round_value_to_list32$'); |
106 | 113 | ||
107 | my $rocklib = sprintf("%s/rocklib.c", $ARGV[0]); | 114 | my $rocklib = sprintf("%s/rocklib.c", $ARGV[0]); |