Skip to content

Commit f3dde5a

Browse files
author
luke
committed
Add GROWABLE_BIT_SET function for barrier checking.
git-svn-id: https://svn.r-project.org/R/trunk@89049 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 22bf323 commit f3dde5a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/include/Defn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ void (UNSET_MAYBEJIT)(SEXP x);
605605

606606
/* Growable vector support */
607607
int (IS_GROWABLE)(SEXP x);
608+
int (GROWABLE_BIT_SET)(SEXP x);
608609
void (SET_GROWABLE_BIT)(SEXP x);
609610

610611
/* Vector Access Functions */

src/main/memory.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4051,6 +4051,7 @@ attribute_hidden void (UNSET_MAYBEJIT)(SEXP x) { UNSET_MAYBEJIT(CHK(x)); }
40514051

40524052
/* Growable vector support */
40534053
int (IS_GROWABLE)(SEXP x) { return IS_GROWABLE(CHK(x)); }
4054+
int (GROWABLE_BIT_SET)(SEXP x) { return GROWABLE_BIT_SET(CHK(x)); }
40544055
void (SET_GROWABLE_BIT)(SEXP x) { SET_GROWABLE_BIT(CHK(x)); }
40554056

40564057
static int nvec[32] = {

0 commit comments

Comments
 (0)