TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: John Guillory
from: Neil Heller
date: 2004-04-29 10:38:00
subject: Function Pointer Redux

JG>-> typedef void * (*x) (void *)

JG>-> What does this statement declare?

JG>-> What is x?
JG>   I'm not an expert on C, but it appears like

JG>X is a pointer to a function that returns (I think a generic pointer)
JG>and takes on a generic pointer (void *).... In other words


It seems to me that x is the return type from the function.  What's 
being returned is a pointer to that type.

I was wondering if the original statement is recursive?

þ CMPQwk 1.42 999

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.