stage4/generate_c/generate_c_sfcdecl.cc
changeset 1008 59435d4c5e0c
parent 991 7c01878bd525
child 1041 56ebe2a31b5b
equal deleted inserted replaced
1007:afb3974f8fb3 1008:59435d4c5e0c
   128           s4o.print(";\n");
   128           s4o.print(";\n");
   129           step_number = 0;
   129           step_number = 0;
   130           wanted_sfcdeclaration = sfcinit_sd;
   130           wanted_sfcdeclaration = sfcinit_sd;
   131           
   131           
   132           /* steps table initialisation */
   132           /* steps table initialisation */
   133           s4o.print(s4o.indent_spaces + "static const STEP temp_step = {{0, 0}, 0, {0, 0}};\n");
   133           s4o.print(s4o.indent_spaces + "static const STEP temp_step = {{0, 0}, 0, {{0, 0}, 0}};\n");
   134           s4o.print(s4o.indent_spaces + "for(i = 0; i < ");
   134           s4o.print(s4o.indent_spaces + "for(i = 0; i < ");
   135           print_variable_prefix();
   135           print_variable_prefix();
   136           s4o.print("__nb_steps; i++) {\n");
   136           s4o.print("__nb_steps; i++) {\n");
   137           s4o.indent_right();
   137           s4o.indent_right();
   138           s4o.print(s4o.indent_spaces);
   138           s4o.print(s4o.indent_spaces);