pike.git / src / post_modules / GTK2 / output / split.pike

version» Context lines:

pike.git/src/post_modules/GTK2/output/split.pike:206:       foreach( sort(indices( done )), string w )    initfun += done[w]->pike_add();       if(sizeof(strings))    {    pre += "struct pike_string * pgtk2_pstr_vector["+sizeof(strings)+"];\n\n";    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,1,2) + "," + sizeof(str) + ",0);\n";    }    exitfun += #"    {    int i;    for( i=0; i<NELEM(pgtk2_pstr_vector); i++ )    free_string( pgtk2_pstr_vector[i] );    }   ";    }