[studio] Add include guard to font resource file
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
// Generated
|
// Generated
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <ox/std/span.hpp>
|
#include <ox/std/span.hpp>
|
||||||
|
|
||||||
namespace studio::files {
|
namespace studio::files {
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ def proc_rsrc_file(rsrc_path: str):# Open and read the JSON file
|
|||||||
pop_ns = ''
|
pop_ns = ''
|
||||||
cpp = '// Generated\n\n#include <ox/std/array.hpp>\n'
|
cpp = '// Generated\n\n#include <ox/std/array.hpp>\n'
|
||||||
cpp += '#include <ox/std/span.hpp>\n\n'
|
cpp += '#include <ox/std/span.hpp>\n\n'
|
||||||
hpp = '// Generated\n\n#include <ox/std/span.hpp>\n\n'
|
hpp = '// Generated\n\n#pragma once\n\n#include <ox/std/span.hpp>\n\n'
|
||||||
cpp += push_ns
|
cpp += push_ns
|
||||||
hpp += push_ns
|
hpp += push_ns
|
||||||
all_files_func_decl = ''
|
all_files_func_decl = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user