mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-18 21:39:32 +01:00
* Some minor fixes (missing "const"s, changed some untyped "var" arguments to "const" arguments etc.)
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
Free Pascal GL* Units
|
|
(c) 1999-2000 Sebastian Guenther, sg@freepascal.org
|
|
|
|
|
|
buildgl.pp
|
|
----------
|
|
This unit only contains the class "TDefReader", which reads .def files and
|
|
holds the informations in the read .def file.
|
|
|
|
|
|
c_linuxd.pp
|
|
-----------
|
|
This program creates the Linux units "linux/gl.pp" and "linux/glut.pp". It is
|
|
a kind of template processor which reads in the Linux specific .tpl template
|
|
files; at specially marked places within the template file it inserts
|
|
converted data read in from .def files.
|
|
|
|
|
|
*.def
|
|
-----
|
|
These are definition files, which hold all declarations common to all
|
|
platforms. It may contain two sections:
|
|
All lines between "%COPY_INTERFACE" and "%END" are just inserted into the
|
|
interface section of generated units; the lines between "%PROCS" and "%END"
|
|
are procedure and function definitions. Comments are preserved.
|
|
Comments within the .def file (which don't appear in generated units) have
|
|
a "#" character at the beginning of the line.
|
|
|
|
|
|
*.tpl
|
|
-----
|
|
Template files; these files are the skeleton for the generated units. Within
|
|
a template file, lines beginning with "%" mark special positions where the
|
|
generator inserts its stuff read and possibly converted from .def files.
|