Branch: Tag:

2008-07-13

2008-07-13 13:53:47 by Marcus Comstedt <marcus@mc.pp.se>

Added final attribute to some constants which are supposed to be constants and not "almost like functions".

Rev: src/modules/Fuse/module.pmod.in:1.12
Rev: src/modules/Gz/buffertest.pike:1.3
Rev: src/modules/Gz/module.pmod.in:1.18
Rev: src/modules/Math/module.pmod.in:1.26
Rev: src/modules/Oracle/module.pmod.in:1.15
Rev: src/modules/Regexp/module.pmod.in:1.12
Rev: src/modules/files/sendfiletest.pike:1.12
Rev: src/post_modules/COM/examples/ads.pike:1.3
Rev: src/post_modules/GL/gen.pike:1.25
Rev: src/post_modules/GLUT/gen.pike:1.4
Rev: src/post_modules/GTK/new_build_pgtk.pike:1.30
Rev: src/post_modules/GTK/output/split.pike:1.16
Rev: src/post_modules/GTK2/build_pgtk.pike:1.16
Rev: src/post_modules/GTK2/output/split.pike:1.14
Rev: src/post_modules/Nettle/rijndaeltest.pike:1.5

112:    res += (" "+glue_c_name(cls->c_name())+"_program = end_program();\n"    " "+glue_c_name(cls->c_name())+"_program->id = "+cls->class_id()+";\n");    res += (" add_program_constant("+S(cls->pike_name(),1,0,26)+",\n" -  " "+glue_c_name(cls->c_name())+"_program, 0);\n"); +  " "+glue_c_name(cls->c_name())+"_program, ID_FINAL);\n");   // predef::write("pike_name==%s\n",cls->pike_name());   /*    string str=S(cls->pike_name(),1,0,26);