C export: add static const qualifier for arrays

This commit is contained in:
Clément Léger 2016-04-06 19:17:39 +02:00
parent 664821b9f5
commit d176973e72

View File

@ -36,7 +36,7 @@
frameStr += '/* Piskel data for \"' + this.getPiskelName_() + '\" */\n\n';
frameStr += 'uint32_t ' + cName.toLowerCase();
frameStr += 'static const uint32_t ' + cName.toLowerCase();
frameStr += '_data[' + frameCount + '][' + width * height + '] = {\n';
for (var i = 0 ; i < frameCount ; i++) {