Follow-up Comment #7, bug #13846 (project freeciv):

I think book's comment about wrappers asked for something like this:

bool handle_stdin_input(...)
{
  return handle_stdin_input_real(... , 0);
}

bool read_init_script(...)
{
  return read_init_script_real(... , 0);
}

static bool handle_stdin_input_real(... , int recursion)
{
  ...
}

static bool read_init_script_real(..., int recursion)
{
  ...
  handle_stdin_input_real(... , recursion + 1);
  ...
}


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13846>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to