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)); }
int XPointInRegion(Region region, int x, int y) { return GrPointInRegion(region->rid, x, y); }