Annotation of researchv10no/cmd/cfront/ooptcfront/print_self.c, revision 1.1.1.1

1.1       root        1: /* print_self_default.C -- bailout versions of print_self and format_self */
                      2: /*
                      3:        $Source: /usr2/odi/lib.src/RCS/print_self_default.C,v $ $RCSfile: print_self_default.C,v $
                      4:        $Revision: 1.4 $                $Date: 89/09/19 11:49:58 $
                      5:        $Author: benson $               $Locker:  $
                      6:        $State: Exp $
                      7: */
                      8: 
                      9: #include <print_self.H>
                     10: 
                     11: int ostream_printf (ostream&, const char * ...);
                     12: 
                     13: int _Print_self::print_self (ostream& stream) const
                     14: {
                     15:     return ostream_printf (stream, "<%s at 0x%p>", 
                     16:                           this->type_name(), (void *) this);
                     17: }
                     18: 
                     19: int _Print_self::format_self (ostream& stream) const
                     20: {
                     21:     return ostream_printf (stream, "<%s at 0x%p>", 
                     22:                           this->type_name(), (void *) this);
                     23: }
                     24: 
                     25: static char rcsinfo[] = "$Header: /usr2/odi/lib.src/RCS/print_self_default.C,v 1.4 89/09/19 11:49:58 benson Exp $";
                     26: 
                     27: 
                     28: /*
                     29:    $Log:       print_self_default.C,v $
                     30: Revision 1.4  89/09/19  11:49:58  benson
                     31: rename print_self_class to _Print_self.
                     32: 
                     33: Revision 1.3  89/09/19  11:41:40  benson
                     34: add consts.
                     35: 
                     36: Revision 1.2  89/09/18  15:28:21  benson
                     37: cosmetic improvements.
                     38: 
                     39: 
                     40:    end_log
                     41: */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.