File:  [Research Unix] / researchv9 / jtools / src / sunlib / sun4.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

#if defined(sparc)
#include "jerq.h"

Point Pt(x,y)
{
	Point p;

	p.x = x;
	p.y = y;
	return p;
}

Rectangle Rect(x1,y1,x2,y2)
{
	Rectangle r;

	r.origin.x = x1;
	r.origin.y = y1;
	r.corner.x = x2;
	r.corner.y = y2;
	return r;
}

Rectangle Rpt(p1, p2)
Point p1, p2;
{
	Rectangle r;

	r.origin.x = p1.x;
	r.origin.y = p1.y;
	r.corner.x = p2.x;
	r.corner.y = p2.y;
	return r;
}
#endif

unix.superglobalmegacorp.com

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