inst/examples/types.R

count =
  #
  # example of adding a literal of the wrong type to
  # an object.
  #  a = compileFunction(count, Int32Type, list(len = Int32Type))
  #
function(len)
{
   return(len + 1)
}
duncantl/RLLVMCompile documentation built on May 15, 2019, 5:31 p.m.