Skip to content

Commit a87eca9

Browse files
author
ripley
committed
add comments
git-svn-id: https://svn.r-project.org/R/trunk@87927 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 6571a71 commit a87eca9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/main/Rdynload.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ DllInfo *R_getEmbeddingDllInfo(void)
278278
return dll;
279279
}
280280

281+
// API, in header R_ext/Rdynload.h
281282
Rboolean R_useDynamicSymbols(DllInfo *info, Rboolean value)
282283
{
283284
Rboolean old;
@@ -286,6 +287,7 @@ Rboolean R_useDynamicSymbols(DllInfo *info, Rboolean value)
286287
return old;
287288
}
288289

290+
// API, in header R_ext/Rdynload.h
289291
Rboolean R_forceSymbols(DllInfo *info, Rboolean value)
290292
{
291293
Rboolean old;

src/main/util.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ size_t mbcsToUcs2(const char *in, R_ucs2_t *out, int nout, int enc)
448448

449449
#include <wctype.h>
450450

451-
/* This one is not in Rinternals.h, but is used in internet module */
451+
// non-API put used in the internet module and in packages
452452
Rboolean isBlankString(const char *s)
453453
{
454454
if(mbcslocale) {
@@ -473,6 +473,7 @@ Rboolean StringBlank(SEXP x)
473473

474474
/* Function to test whether a string is a true value */
475475

476+
// non-API but used in packages
476477
Rboolean StringTrue(const char *name)
477478
{
478479
int i;
@@ -482,6 +483,7 @@ Rboolean StringTrue(const char *name)
482483
return FALSE;
483484
}
484485

486+
// non-API but used in packages
485487
Rboolean StringFalse(const char *name)
486488
{
487489
int i;

0 commit comments

Comments
 (0)