Author Topic: typedef  (Read 1011 times)

thrushitha

  • Full Member
  • ***
  • Posts: 26
typedef
« on: July 07, 2011, 04:35:17 am »
what does this piece of code mean ?

typedef void (*PCONTENT_FUNC)(void *);


thanks in advance :)

kathir

  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
Re: typedef
« Reply #1 on: July 07, 2011, 12:02:32 pm »
what does this piece of code mean ?

typedef void (*PCONTENT_FUNC)(void *);

thanks in advance :)

It refers a pointer function used with typedef definition. Refer to the following link for more information:

http://www.softwareandfinance.com/CPP/Function_Pointers.html

 


Disclaimer: This web site is for educational and informational purposes only. Click here to read the Disclaimer.
Content copyright 2010-2014. Kathiresan. All rights reserved.
This page is using SMF version 2.0.1