Branch: Tag:

2013-11-13

2013-11-13 17:53:10 by Martin Nilsson <nilsson@opera.com>

Added _sizeof and _sprintf to ADT.struct

173:    {    return (index == sizeof(buffer));    } +  +  protected int(0..) _sizeof() +  { +  return [int(0..)](sizeof(buffer)-index);    } -  +  +  protected string _sprintf(int t) +  { +  return t=='O' && sprintf("%O(%O)", this_program, _sizeof()); +  } + }