b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 4513098 (Thread)

# I sometimes use function pointers
but I don't know what that says.
It looks like it declares a function that takes a void pointer, and then the function is cast as a pointer (and it returns a void pointer). What does that mean?
*gets out K&R*
*remembers brackets associate left to right*
hang on a minute.
OK, I vaguely remember that the parentheses are needed in order to declare a pointer to a function instead of just declaring a function that returns a handle. I get the impression that what you've made is a pointer to a function that takes a pointer to a function and returns a pointer to a function, maybe, not sure.
*goes to bed*
(, Mon 18 Apr 2005, 0:03, archived)