P
pembed2012
I want to declare a function that has static linkage and returns a
pointer to a function with extern linkage. Do the following
declarations acheive that, or do they declare a function that returns
a pointer to a function with static linkage?
typedef void Foo(void);
static Foo * Bar(void){
//Bar
}
pointer to a function with extern linkage. Do the following
declarations acheive that, or do they declare a function that returns
a pointer to a function with static linkage?
typedef void Foo(void);
static Foo * Bar(void){
//Bar
}