lazarus/lcl/interfaces/gtk3/gtk3bindings/lazxlib2.pas
Abou Al Montacir 682b34c021 GTK3: Updated binding units code to support building on Windows.
Added DLL name and entry point name to the external clause.

We constrained the units version to Bullseye (Debian 11.6) shipped
libraries.

They were generated using le following command:
```sh
gir2pas -P Laz -e Set -i /usr/share/gir-1.0/Gtk-3.0.gir -o gtk3-test-2 \
        -M atk-2.36 \
        -M pango-1.16 \
        -M pangocairo-1.46 \
        -M glib-2.66 \
        -M gio-2.66 \
        -M gmodule-2.66 \
        -M gobject-2.66 \
        -M gtk-3.24
```

Some files are still modified manually.
2023-06-18 20:18:00 +02:00

204 lines
2.5 KiB
ObjectPascal

{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit Lazxlib2;
{$MODE OBJFPC}{$H+}
{$PACKRECORDS C}
{$MODESWITCH DUPLICATELOCALS+}
{$ifdef Unix}
{$endif}
interface
uses
CTypes;
const
{$ifdef MsWindows}
Lazxlib2_library = '.dll';
{$else}
Lazxlib2_library = '';
{$endif}
type
{ TAtom }
PPAtom = ^PAtom;
PAtom = ^TAtom;
TAtom = culong;
{ TColormap }
PPColormap = ^PColormap;
PColormap = ^TColormap;
TColormap = culong;
{ TCursor }
PPCursor = ^PCursor;
PCursor = ^TCursor;
TCursor = culong;
{ TDisplay }
PPDisplay = ^PDisplay;
PDisplay = ^TDisplay;
TDisplay = record
end;
{ TDrawable }
PPDrawable = ^PDrawable;
PDrawable = ^TDrawable;
TDrawable = culong;
{ TGC }
PPGC = ^PGC;
PGC = ^TGC;
TGC = pointer;
{ TKeyCode }
PPKeyCode = ^PKeyCode;
PKeyCode = ^TKeyCode;
TKeyCode = cuint8;
{ TKeySym }
PPKeySym = ^PKeySym;
PKeySym = ^TKeySym;
TKeySym = culong;
{ TPicture }
PPPicture = ^PPicture;
PPicture = ^TPicture;
TPicture = culong;
{ TScreen }
PPScreen = ^PScreen;
PScreen = ^TScreen;
TScreen = record
end;
{ Time }
PPime = ^Pime;
Pime = ^Time;
Time = culong;
{ TVisual }
PPVisual = ^PVisual;
PVisual = ^TVisual;
TVisual = record
end;
{ TVisualID }
PPVisualID = ^PVisualID;
PVisualID = ^TVisualID;
TVisualID = culong;
{ TWindow }
PPWindow = ^PWindow;
PWindow = ^TWindow;
TWindow = culong;
{ TXEvent }
PPXEvent = ^PXEvent;
PXEvent = ^TXEvent;
TXEvent = record
end;
{ TXConfigureEvent }
PPXConfigureEvent = ^PXConfigureEvent;
PXConfigureEvent = ^TXConfigureEvent;
TXConfigureEvent = record
end;
{ TXID }
PPXID = ^PXID;
PXID = ^TXID;
TXID = culong;
{ TPixmap }
PPPixmap = ^PPixmap;
PPixmap = ^TPixmap;
TPixmap = culong;
{ TXImage }
PPXImage = ^PXImage;
PXImage = ^TXImage;
TXImage = record
end;
{ TXFontStruct }
PPXFontStruct = ^PXFontStruct;
PXFontStruct = ^TXFontStruct;
TXFontStruct = record
end;
{ TXTrapezoid }
PPXTrapezoid = ^PXTrapezoid;
PXTrapezoid = ^TXTrapezoid;
TXTrapezoid = record
end;
{ TXVisualInfo }
PPXVisualInfo = ^PXVisualInfo;
PXVisualInfo = ^TXVisualInfo;
TXVisualInfo = record
end;
{ TXWindowAttributes }
PPXWindowAttributes = ^PXWindowAttributes;
PXWindowAttributes = ^TXWindowAttributes;
TXWindowAttributes = record
end;
procedure XOpenDisplay; cdecl; external Lazxlib2_library name 'XOpenDisplay';
implementation
end.