pike.git / lib / modules / ADT.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/ADT.pmod/module.pmod:3:      //! Various Abstract Data Types.      #if constant(_ADT)   inherit _ADT;   #endif /* _ADT */      constant List = __builtin.List;      // Internal stuff for ADT.Struct - static int item_counter; + protected int item_counter;   int get_item_id() { return item_counter++; }      //! String buffer with the possibility to read and write data   //! as they would be formatted in structs.   class struct {       string buffer;    int index;       //! Create a new buffer, optionally initialized with the