Branch: Tag:

2014-08-15

2014-08-15 13:49:53 by Martin Nilsson <nilsson@opera.com>

static -> protected

2:       constant BSONBinary = 1;    -  static string data; -  static int subtype = 0x00; +  protected string data; +  protected int subtype = 0x00;       //! -  static void create(string _data, int|void _subtype) +  protected void create(string _data, int|void _subtype)    {    subtype = _subtype;    if(subtype == .BINARY_OLD)
28:    subtype = _subtype;    }    -  static int _sizeof() +  protected int _sizeof()    {    if(subtype == .BINARY_OLD)    return sizeof(data) + 4;
36:    return sizeof(data);    }    -  static mixed cast(string type) +  protected mixed cast(string type)    {    if(type == "string")    {