Short answer: Yes. I pasted it from reaper_plugin_functions.h.
Way too long answer: The first line of code defines a
function pointer. The second line is used to what makes the function pointer "point" into the proper place in the REAPER process space. That way, when you call the function, you're executing REAPER code. The function pointer definition (like a
function prototype) actually doesn't care about the "val" name for the integer parameter, so much so that just writing:
Code:
int (*GetSetRepeat)(int);
is sufficient.