Displaying 2 results from an estimated 2 matches for "funptr".
Did you mean:
fnptr
2011 Sep 20
2
Is it possible to pass a function argument from R to compiled code in C?
I have a function in R that takes another function as argument:
f <- function(g, ...) { #g is expected to be a function
}
I want to see if there is a way to implement "f" in C and calling it from R
using ".C" interface. I know that I can use function pointers for my C
implementation, but I imagine it's going to be nearly impossible to pass a
function from R to C. Are
2017 Jul 11
6
RFC: Harvard architectures and default address spaces
Hello all, I’m looking into solving an AVR-specific issue and would love to
hear peoples thoughts on how to best fix it.
Background
As you may or may not know, I maintain the in-tree AVR backend, which also
happens to be (to the best of my knowledge) the first in-tree backend for a
Harvard architecture.
In this architecture, code lives inside the ‘program memory’ space
(numbered 1), whereas data