testit.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. Test header file to test conversion program.
  3. */
  4. typedef struct {
  5. int x;
  6. int y;
  7. } a;
  8. typedef union fpk {
  9. int X;
  10. int y;
  11. int z;
  12. } b;
  13. typedef _test test;
  14. struct _test
  15. {
  16. int x;
  17. int y;
  18. };
  19. struct XML_cp {
  20. enum XML_Content_Type type;
  21. enum XML_Content_Quant quant;
  22. struct _test test;
  23. union _test2 test2;
  24. XML_Char * name;
  25. unsigned int numchildren;
  26. XML_Content * children;
  27. };
  28. typedef void (*XML_AttlistDeclHandler) (void *userData,
  29. const XML_Char *elname,
  30. const XML_Char *attname,
  31. const XML_Char *att_type,
  32. const XML_Char *dflt,
  33. int isrequired);
  34. void proc(int *,int);
  35. void proc(int *p,int i);
  36. float f();
  37. typedef enum { First, second, third } C;
  38. typedef enum { DFirst = 1, DSecond = 2, DThird = 3 } D;
  39. typedef enum { EFirst = 100, ESecond, EThird } D;
  40. void someproc(char *Firstarg,...);
  41. mytype* somefunc (char *firstarg);
  42. #define test 0x012345UL
  43. extern long long i641;
  44. extern unsigned long long q641;
  45. extern long long int i642;
  46. extern unsigned long long int q642;
  47. typedef DWORD (WINAPI *LPTHREAD_START_ROUTINE)(LPVOID);
  48. typedef DWORD(WINAPI *LPPROGRESS_ROUTINE)(LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,LARGE_INTEGER,DWORD,DWORD,HANDLE,HANDLE,LPVOID);
  49. typedef Status (*XcmsConversionProc)();
  50. typedef XrmHashTable XrmSearchList[];
  51. #define XrmStringToRepresentation(string) XrmStringToQuark(string)
  52. #define XrmRepresentationToString(type) XrmQuarkToString(type)
  53. typedef struct _XRenderPictureAttributes {
  54. Bool repeat;
  55. Picture alpha_map;
  56. int alpha_x_origin;
  57. int alpha_y_origin;
  58. int clip_x_origin;
  59. int clip_y_origin;
  60. Pixmap clip_mask;
  61. Bool graphics_exposures;
  62. int subwindow_mode;
  63. int poly_edge;
  64. int poly_mode;
  65. Atom dither;
  66. } XRenderPictureAttributes;
  67. void gdk_gc_set_dashes (GdkGC *gc,
  68. gint dash_offset,
  69. gint8 dash_list[],
  70. gint n);