Пример #1
0
void traverse(Node *root, std::vector<int> numbers)
{
    int ct;
    Node *n;

    for (ct = 0, n = root; n != null; ct++, n=n->next()) {
       do_something(n);
    }
    bork();
}
Пример #2
0
void consume(Node *n, int x)
{
    while (n && n->isdead()) {
        eat(n);
        n = n->next();
    }

    do {
        n = n->next();
    } while (n && !n->isdead());
    bork();
}
Пример #3
0
void boid(void)
   {
      switch (somthing()) {
      case 0:
         something_zero();
         break;
      case 1:
         something_one();
         break;
      default:
         something_many();
         break;
      }
      bork();
   }
int test() {
    char qux = 1L;
    for (; baz >= -29; baz--)
        bork(bar && foo, qux);
}
void foo(void *inWindow) {
  static const struct E events[] = {
    { 123124, 1 }
  };
  bork(hndlr, events);
}