http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

typedef



I've seen this notation a number of times, but never been able to figure
out what it means. None of my reference books have it. Does any one know?

typedef struct MouseStat_t
  {
     int   x,
           y;
     Bool  state;

  } MouseStat_t, *pMouseStat_t;


The notation I refer to is the last two words there after the {...}. I
assume it is typedefing new variations on the struct, but then why is
MouseStat_t listed again? ....

SirFern


=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html




  • Follow-Ups:
    • Re: typedef
      • From: "slick willy" <bporter@flashcom.net>