From radford at cs.toronto.edu  Thu Jun 26 23:25:27 2014
From: radford at cs.toronto.edu (Radford Neal)
Date: Thu, 26 Jun 2014 17:25:27 -0400
Subject: [Rd] Need help on calling Head from C
In-Reply-To: <CAGSjAUB9eAsfwAWBf_BR2Vw+84LeW5vG7G8kezrX22wRBp8LbQ@mail.gmail.com>
References: <20140626203624.GA17415@cs.toronto.edu>
	<CAGSjAUB9eAsfwAWBf_BR2Vw+84LeW5vG7G8kezrX22wRBp8LbQ@mail.gmail.com>
Message-ID: <20140626212527.GA22247@cs.toronto.edu>

> Thank you for the wonderful suggestion .  do you suggest to protect
> ScalarInteger(1)
> before calling lang3 ?

Yes, either the result of Scalar Integer(1) or the result of install
should be protected (before calling lang3 - don't try to do it inside
the argument list of lang3).



[Rd] Need help on calling Head from C
Radford Neal