make_fun_list: Generate function name and C arg types from subroutine/entry...

View source: R/registration.R

make_fun_listR Documentation

Generate function name and C arg types from subroutine/entry definition

Description

Parse a fortran subroutine/entry definition and return subroutine/entry name and C argument types as a list

Usage

make_fun_list(fun_strs)

Arguments

fun_str

a vector of subroutine definition strings with args

Value

a list of function names along with C argument types, SEXP args, and .Call args

Examples

make_fun_list(c("subroutine foo(no,ni,x,y,w,theta)", "entry foobar(ix, y)", "subroutine bar(x,n,p,m)"))



bnaras/SUtools documentation built on Nov. 26, 2022, 6:07 p.m.