R/runTime.R

Defines functions isNilPointer makeClosure

Documented in makeClosure

makeClosure =
function(fun, ..., .els = list(...), env = new.env())  
{
   environment(fun) = env
   mapply(assign, names(.els), .els, MoreArgs = list(env = env))
   fun
}


if(!UseSimpleCRunTime) 
isNilPointer =
function(ref)
  .Call("R_isNilPointer", ref)
omegahat/Rffi documentation built on Nov. 29, 2023, 12:48 a.m.