README 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. Free Pascal GL* Units
  2. (c) 1999-2000 Sebastian Guenther, [email protected]
  3. buildgl.pp
  4. ----------
  5. This unit only contains the class "TDefReader", which reads .def files and
  6. holds the informations in the read .def file.
  7. c_linuxd.pp
  8. -----------
  9. This program creates the Linux units "linux/gl.pp" and "linux/glut.pp". It is
  10. a kind of template processor which reads in the Linux specific .tpl template
  11. files; at specially marked places within the template file it inserts
  12. converted data read in from .def files.
  13. *.def
  14. -----
  15. These are definition files, which hold all declarations common to all
  16. platforms. It may contain two sections:
  17. All lines between "%COPY_INTERFACE" and "%END" are just inserted into the
  18. interface section of generated units; the lines between "%PROCS" and "%END"
  19. are procedure and function definitions. Comments are preserved.
  20. Comments within the .def file (which don't appear in generated units) have
  21. a "#" character at the beginning of the line.
  22. *.tpl
  23. -----
  24. Template files; these files are the skeleton for the generated units. Within
  25. a template file, lines beginning with "%" mark special positions where the
  26. generator inserts its stuff read and possibly converted from .def files.