From kirill.mueller at ivt.baug.ethz.ch  Mon Jun  5 17:30:20 2017
From: kirill.mueller at ivt.baug.ethz.ch (=?UTF-8?Q?Kirill_M=c3=bcller?=)
Date: Mon, 5 Jun 2017 17:30:20 +0200
Subject: [Rd] Usage of PROTECT_WITH_INDEX in R-exts
Message-ID: <7f60a4f4-3d29-1e2b-04e1-4bfd1d2bc4d0@ivt.baug.ethz.ch>

Hi


I've noted a minor inconsistency in the documentation: Current R-exts reads

s = PROTECT_WITH_INDEX(eval(OS->R_fcall, OS->R_env), &ipx);

but I believe it has to be

PROTECT_WITH_INDEX(s = eval(OS->R_fcall, OS->R_env), &ipx);

because PROTECT_WITH_INDEX() returns void.


Best regards

Kirill



[Rd] Usage of PROTECT_WITH_INDEX in R-exts
=?UTF-8?Q?Kirill_M=c3=bcller?=