C fun wrapper
cFun.Rd(RMD believes) used to port between R and C functions.
Usage
cFun(
  type = "int",
  fun_name = "sample_index_using_probs",
  data = NULL,
  params = NULL,
  i = 0,
  probs = c(0),
  x = 0,
  dead_index = 0,
  parent_indv = 0,
  dispersed_this_iter = TRUE,
  speciation_sp = 0
)