mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 04:09:51 +02:00
![]() Inserting `external` directive for `C` identifiers was done manually. This commit adds a method to add such a directive for any identifier. This helps keeping inserted code consistent and if a change is to be done in the future, we do it at one place only. |
||
---|---|---|
.. | ||
.gitignore | ||
commandlineoptions.pas | ||
gir2pascal.ico | ||
gir2pascal.lpi | ||
gir2pascal.lpr | ||
gir2pascal.res | ||
girctypesmapping.pas | ||
girerrors.pas | ||
girfiles.pas | ||
girnamespaces.pas | ||
girobjects.pas | ||
girparser.pas | ||
girpascalclasswriter.pas | ||
girpascalwriter.pas | ||
girpascalwritertypes.pas | ||
girtokens.pas | ||
LICENSE.md | ||
Makefile | ||
README.md |
gir2pascal
This is the gir2pascal utility, a program to convert the GIR metadata format (= XML files) used by GObject introspection into usable Pascal source code, suitable for generating corresponding language bindings.
The original is part of the Lazarus Code and Component Repository (lazarus-ccr,
wiki article), see applications/gobject-introspection/
. Later it has
received some maintenance by n1tehawk and finally was imported from his
repository into Lazarus source tree.
License
This project builds upon the original Lazarus CCR version and is thus intended
to follow the same licensing principles. For the gobject-introspection
folder
this seems to be GPL v2, as referenced in a number of file headers.