MCPcopy Create free account
hub / github.com/Inori/GPCS4 / WriteHeadComment

Function WriteHeadComment

Tools/GenerateCode.py:120–129  ·  view source on GitHub ↗
(dst, mod_name, lib_dic)

Source from the content-addressed store, hash-verified

118 return base_name + '.h', base_name + '.cpp', base_name + '_export.cpp'
119
120def WriteHeadComment(dst, mod_name, lib_dic):
121 dst.write('/*' + '\n')
122 dst.write(' *' + ' ' + 'GPCS4' + '\n')
123 dst.write(' *' + ' ' + '\n')
124 dst.write(' *' + ' ' + 'This file implements:' + '\n')
125 dst.write(' *' + ' ' + 'module: {}'.format(mod_name) + '\n')
126 for lib_name in lib_dic:
127 dst.write(' *' + ' ' + ' library: {}'.format(lib_name) + '\n')
128 dst.write(' *' + ' ' + '\n')
129 dst.write(' */'+ '\n')
130
131def WriteNote(dst):
132 dst.write('// Note:' + '\n')

Callers 1

WriteSourceFilesFunction · 0.85

Calls 2

writeMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected