Skip to content

Commit 077e638

Browse files
authored
Declare extern array for roll function names
1 parent dc621d7 commit 077e638

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/data.table.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ typedef enum { // adding rolling functions here and in frollfunR in frollR.c
259259
VAR = 6,
260260
SD = 7
261261
} rollfun_t;
262+
extern const char *const rfunNames[]; // Array of roll function names defined in froll.c
262263
// froll.c
263264
void frollfun(rollfun_t rfun, unsigned int algo, const double *x, uint64_t nx, ans_t *ans, int k, int align, double fill, bool narm, int hasnf, bool verbose, bool par);
264265
void frollmeanFast(const double *x, uint64_t nx, ans_t *ans, int k, double fill, bool narm, int hasnf, bool verbose);

0 commit comments

Comments
 (0)