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

version» Context lines:

pike.git/lib/modules/ADT.pmod/module.pmod:2:   #pragma strict_types      //! Various Abstract Data Types.      #if constant(_ADT)   inherit _ADT;   #endif /* _ADT */      constant List = __builtin.List;    + #if constant(__builtin.Stack) + constant LowLevelStack = __builtin.Stack; + #endif +    // Internal stuff for ADT.Struct   protected int item_counter;   int get_item_id() { return item_counter++; }      protected class structError   {    inherit Error.Generic;    constant ADT_struct = 1;   }