Diff for /parser3/src/classes/inet.C between versions 1.2 and 1.4

version 1.2, 2008/06/16 13:09:22 version 1.4, 2010/10/21 15:06:27
Line 1 Line 1
 /** @file  /** @file
         Parser: @b inet parser class.          Parser: @b inet parser class.
   
         Copyright(c) 2001-2005 ArtLebedev Group(http://www.artlebedev.com)          Copyright(c) 2001-2009 ArtLebedev Group(http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru>(http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru>(http://paf.design.ru)
 */  */
   
Line 13  static const char * const IDENT_INET_C=" Line 13  static const char * const IDENT_INET_C="
 class MInet: public Methoded {  class MInet: public Methoded {
 public:  public:
         MInet();          MInet();
   
 public: // Methoded  
         bool used_directly() { return true; }  
 };  };
   
 // global variables  // global variables
Line 90  MInet::MInet(): Methoded("inet") { Line 87  MInet::MInet(): Methoded("inet") {
         add_native_method("ntoa", Method::CT_STATIC, _ntoa, 1, 1);          add_native_method("ntoa", Method::CT_STATIC, _ntoa, 1, 1);
         add_native_method("aton", Method::CT_STATIC, _aton, 1, 1);          add_native_method("aton", Method::CT_STATIC, _aton, 1, 1);
   
         // todo: gethostbyname, gethostbyaddr          // @todo: gethostbyname, gethostbyaddr
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.4


E-mail: