diff options
Diffstat (limited to 'filter/source/svg/js2hxx.py')
-rwxr-xr-x | filter/source/svg/js2hxx.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filter/source/svg/js2hxx.py b/filter/source/svg/js2hxx.py index 5d6ddd516ba5..1c7676218c68 100755 --- a/filter/source/svg/js2hxx.py +++ b/filter/source/svg/js2hxx.py @@ -127,6 +127,10 @@ for line in valid_lines: out_lines.append( ']]>";' ) out_lines.append( '' ) +out_lines.append('static const char * g_SVGScripts[N_SVGSCRIPT_FRAGMENTS] = {') +for j in range(0, fragment+1): + out_lines.append(" %s%d," % (VARIABLE_NAME, j)) +out_lines.append('};') outfile = open( outfile_name, 'w' ) if( not os.path.isfile( outfile_name ) ): |