Beispiel #1
0
static void
GrPointInRegionWrapper(void *r)
{
	nxPointInRegionReq *req = r;
	GR_BOOL ret_value = GrPointInRegion(req->regionid, req->x, req->y);
		
	GsWriteType(current_fd, GrNumPointInRegion);
	GsWrite(current_fd, &ret_value, sizeof(ret_value));
}
Beispiel #2
0
int
XPointInRegion(Region region, int x, int y)
{
	return GrPointInRegion(region->rid, x, y);
}