Skip to content

Commit 1cc5c0c

Browse files
authored
add inline to function definition (#4671)
1 parent 11ef560 commit 1cc5c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/datatableAPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern "C" {
2121
/* provided the interface for the function exported in
2222
../src/init.c via R_RegisterCCallable() */
2323

24-
SEXP attribute_hidden DT_subsetDT(SEXP x, SEXP rows, SEXP cols) {
24+
inline SEXP attribute_hidden DT_subsetDT(SEXP x, SEXP rows, SEXP cols) {
2525
static SEXP(*fun)(SEXP, SEXP, SEXP) =
2626
(SEXP(*)(SEXP,SEXP,SEXP)) R_GetCCallable("data.table", "CsubsetDT");
2727
return fun(x,rows,cols);

0 commit comments

Comments
 (0)