File:  [Research Unix] / researchv10dc / cmd / cfront / ptcfront / print_self.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:33 2018 UTC (6 years, 11 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

/* ident "@(#)ctrans:src/print_self.c	1.2" */
/* print_self_default.C -- bailout versions of print_self and format_self */
/*
	$Source: /var/lib/cvsd/repos/research/researchv10dc/cmd/cfront/ptcfront/print_self.c,v $ $RCSfile: print_self.c,v $
	$Revision: 1.1.1.1 $		$Date: 2018/04/24 17:21:33 $
	$Author: root $		$Locker:  $
	$State: Exp $
*/

#include "print_self.h"

int ostream_printf (ostream&, const char * ...);

int _Print_self::print_self (ostream& stream) const
{
    return ostream_printf (stream, "<%s at 0x%p>", 
			   this->type_name(), (void *) this);
}

int _Print_self::format_self (ostream& stream) const
{
    return ostream_printf (stream, "<%s at 0x%p>", 
			   this->type_name(), (void *) this);
}

unix.superglobalmegacorp.com