Branch: Tag:

2015-08-22

2015-08-22 18:35:10 by Per Hedbor <ph@opera.com>

Static:ified a lot of strings.

This is more or less all instances of push_text(static data here).

Left to do: make_shared_X_string(static data here). :)

213:    foreach( strings; string str; int idx )    {    initfun += sprintf("\n /* %O */\n", str); -  initfun += " pgtk2_pstr_vector[" + idx + "] = make_shared_binary_string(" + -  S(str,0,2) + "," + sizeof(str) + ");\n"; +  initfun += " pgtk2_pstr_vector[" + idx + "] = make_shared_static_string(" + +  S(str,0,2) + "," + sizeof(str) + ",0);\n";    }    exitfun += #"    {