… | |
… | |
377 | // info must hold 256 * 3 bytes currently |
377 | // info must hold 256 * 3 bytes currently |
378 | const char *debug_desc (char *info) const; |
378 | const char *debug_desc (char *info) const; |
379 | MTH const char *debug_desc () const; // uses at least 3 round-robin buffers |
379 | MTH const char *debug_desc () const; // uses at least 3 round-robin buffers |
380 | const char *flag_desc (char *desc, int len) const; |
380 | const char *flag_desc (char *desc, int len) const; |
381 | |
381 | |
382 | MTH bool decrease_nr (sint32 nr); |
382 | MTH bool decrease (sint32 nr = 1); // returns true if anything is left |
383 | MTH object *split_nr (sint32 nr); |
383 | MTH object *split (sint32 nr = 1); // return 0 on failure |
384 | |
384 | |
385 | MTH int number_of () const |
385 | MTH int number_of () const |
386 | { |
386 | { |
387 | return nrof ? nrof : 1; |
387 | return nrof ? nrof : 1; |
388 | } |
388 | } |