Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 8th, 2010 | Syntax: Python | Size: 0.20 KB | Hits: 75 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. enum batch_op {
  2.     OP1 = 2,
  3.     OP2 = 3,
  4.     OP3 = -1,
  5. };
  6.  
  7. struct attrl {
  8.     char *name;
  9.     struct attrl *next;
  10.     enum batch_op op;
  11. };
  12.  
  13. void f(struct attrl *x) {
  14.     x->op = OP3;
  15. }