MCPcopy Create free account
hub / github.com/RenderKit/oidn / write_namespace_begin

Function write_namespace_begin

scripts/blob_to_cpp.py:22–26  ·  view source on GitHub ↗
(out_file, scopes)

Source from the content-addressed store, hash-verified

20 out_file.write('// Generated from: %s\n\n' % in_name)
21
22def write_namespace_begin(out_file, scopes):
23 for s in scopes:
24 out_file.write('namespace %s {\n' % s)
25 if scopes:
26 out_file.write('\n')
27
28def write_namespace_end(out_file, scopes):
29 if scopes:

Callers 1

generateFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected