1501
2014-05-17 06:13:45
2
typedef struct ImageSt {
int rows, cols; /* Dimensions of image. */
float **pixels; /* 2D array of image pixels. */
struct ImageSt *next; /* Pointer to next image in sequence. */
} *Image;
는
struct ImageSt {
int rows, cols; /* Dimensions of image. */
float **pixels; /* 2D array of image pixels. */
struct ImageSt *next; /* Pointer to next image in sequence. */
};
typedef struct ImageSt *Image;
와 같습니다.
따라서 (struct ImageSt)를 (*Image)로 쓴다는 말이 아니라
(struct ImageSt *)를 (Image)로 쓴다는 말입니다.