Print Khronos CC-BY copyright notice on open file fp. Writes an asciidoc comment block, which copyrights the source file.
(fp)
| 108 | |
| 109 | |
| 110 | def printCopyrightSourceComments(fp): |
| 111 | """Print Khronos CC-BY copyright notice on open file fp. |
| 112 | |
| 113 | Writes an asciidoc comment block, which copyrights the source |
| 114 | file.""" |
| 115 | |
| 116 | # Work around constraints of the 'reuse' tool |
| 117 | # REUSE-IgnoreStart |
| 118 | print('// Copyright 2014-2026 The Khronos Group Inc.', file=fp) |
| 119 | print('// SPDX' + '-License-Identifier: CC-BY-4.0', file=fp) |
| 120 | # REUSE-IgnoreEnd |
| 121 | |
| 122 | print('', file=fp) |
| 123 | |
| 124 | |
| 125 | def printFooter(fp, leveloffset=0): |
no outgoing calls
no test coverage detected