Skip to content

Commit 0506879

Browse files
committed
remove unused settruelength
1 parent 7c217f8 commit 0506879

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/assign.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ SEXP truelength(SEXP x) {
320320
return ScalarInteger(isNull(x) ? 0 : TRUELENGTH(x));
321321
}
322322

323-
SEXP settruelength(SEXP x, SEXP n) {
324-
// currently just for first/last and dogroups.c; see comments at the end of last.R
325-
SET_TRUELENGTH(x, INTEGER(n)[0]);
326-
return R_NilValue;
327-
}
328-
329323
SEXP selfrefokwrapper(SEXP x, SEXP verbose) {
330324
return ScalarInteger(_selfrefok(x,FALSE,LOGICAL(verbose)[0]));
331325
}

src/data.table.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ SEXP setdt_nrows(SEXP);
291291
SEXP alloccolwrapper(SEXP, SEXP, SEXP);
292292
SEXP selfrefokwrapper(SEXP, SEXP);
293293
SEXP truelength(SEXP);
294-
SEXP settruelength(SEXP, SEXP);
295294
SEXP setcharvec(SEXP, SEXP, SEXP);
296295
SEXP chmatch_R(SEXP, SEXP, SEXP);
297296
SEXP chmatchdup_R(SEXP, SEXP, SEXP);

src/init.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ R_CallMethodDef callMethods[] = {
6262
{"Calloccolwrapper", (DL_FUNC) &alloccolwrapper, -1},
6363
{"Cselfrefokwrapper", (DL_FUNC) &selfrefokwrapper, -1},
6464
{"Ctruelength", (DL_FUNC) &truelength, -1},
65-
{"Csettruelength", (DL_FUNC) &settruelength, -1},
6665
{"Csetcharvec", (DL_FUNC) &setcharvec, -1},
6766
{"Csetcolorder", (DL_FUNC) &setcolorder, -1},
6867
{"Cchmatch", (DL_FUNC) &chmatch_R, -1},

0 commit comments

Comments
 (0)