Guest User

Untitled

a guest
Jan 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. typedef struct _HPDF_Array_Rec *HPDF_Array;
  2.  
  3. typedef struct _HPDF_Array_Rec {
  4. HPDF_Obj_Header header;
  5. HPDF_MMgr mmgr;
  6. HPDF_Error error;
  7. HPDF_List list;
  8. } HPDF_Array_Rec;
  9.  
  10. HPDF_Array id;
  11.  
  12. // content of this struct is irrelevant, so I just made a dummy struct
  13. struct _HPDF_Array_Rec {
  14. int dummy;
  15. };
  16.  
  17.  
  18. typedef struct _HPDF_Array_Rec *HPDF_Array;
  19. HPDF_Array id;
  20.  
  21. An expression uses the -> operator with a typedef identifier.
Add Comment
Please, Sign In to add comment