11/*
22 * R : A Computer Language for Statistical Data Analysis
3- * Copyright (C) 1998-2024 The R Core Team
3+ * Copyright (C) 1998-2025 The R Core Team
44 *
55 * This header file is free software; you can redistribute it and/or modify
66 * it under the terms of the GNU Lesser General Public License as published by
@@ -107,7 +107,7 @@ void R_CheckStack(void);
107107void R_CheckStack2 (R_SIZE_T);
108108
109109
110- /* ../../appl/interv.c: first also in Applic.h
110+ /* ../../appl/interv.c: first and also in Applic.h
111111 Both are API
112112*/
113113int findInterval (double *xt, int n, double x,
@@ -116,11 +116,15 @@ int findInterval(double *xt, int n, double x,
116116int findInterval2 (double *xt, int n, double x,
117117 Rboolean rightmost_closed, Rboolean all_inside, Rboolean left_open,
118118 int ilo, int *mflag);
119+ /* Removed in 4.5.0
119120#ifdef R_RS_H
121+ // Was Rboolean*, but that is not possible in Fortran.
120122int F77_SUB(interv)(double *xt, int *n, double *x,
121- Rboolean *rightmost_closed, Rboolean *all_inside,
123+ int *rightmost_closed, int *all_inside,
122124 int *ilo, int *mflag);
123125#endif
126+ */
127+
124128/* not API, no longer in R
125129void find_interv_vec(double *xt, int *n, double *x, int *nx,
126130 int *rightmost_closed, int *all_inside, int *indx);
0 commit comments