gstaliases.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2022 by Michael Van Canneyt ([email protected]) member of the Free Pascal development team
  4. compatibility types
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. Type
  12. Tguint16 = guint16;
  13. TGType = GType;
  14. TGUINT = guint;
  15. TGpointer = gpointer;
  16. Tgchar = gchar;
  17. Tgdouble = gdouble;
  18. Tgssize = gssize;
  19. // TGError = GError;
  20. Tgint = gint;
  21. Tguint8 = guint8;
  22. Tgint64 = gint64;
  23. // TGObject = GObject;
  24. // TGBytes = GBytes;
  25. TGboolean = gboolean;
  26. Tguint64 = guint64;
  27. Tgulong = gulong;
  28. Tgconstpointer = gconstpointer;
  29. TGHashTable = record end;
  30. Tva_list = pointer;
  31. PPGDate = ^PGDate;
  32. PPGValue = PGValue;
  33. Tgfloat = gfloat;
  34. Tgsize = gsize;
  35. Tguint32 = guint32;
  36. Tgint32 = gint32;
  37. T_GBytes = record end;
  38. TGBytes = T_GBytes;
  39. PPGObject = ^PGObject;
  40. _GMutex = record
  41. case integer of
  42. 0 : ( p : gpointer );
  43. 1 : ( i : array [0..1] of guint);
  44. end;
  45. TGMutex = _gmutex;
  46. T_GRWLock = Record
  47. p : gpointer ;
  48. i : array[0..1] of guint;
  49. end;
  50. TGRWLock = T_GRWLock;
  51. GRWLock = T_GRWLock;
  52. T_GCond = record
  53. p : gpointer ;
  54. i : array[0..1] of guint;
  55. end;
  56. GCond = T_GCond;
  57. TGCond = GCond;
  58. T_GRecMutex = record
  59. p: gpointer ;
  60. i : Array [0..1] of guint;
  61. end;
  62. TGRecMutex = T_GRecMutex;
  63. PPGList = ^PGList;
  64. // GDateTime is opaque
  65. TGdateTime = record
  66. end;