Lines Matching +refs:namespace +refs:root +refs:namespace
22 def res2c(namespace, filenames): argument
24 fdH = open("%s.hpp" % namespace, "w")
27 fdH.write("#ifndef BINARY_%s_HPP\n" % namespace.upper())
28 fdH.write("#define BINARY_%s_HPP\n" % namespace.upper())
30 fdH.write("namespace %s\n" % namespace)
33 fdC = open("%s.cpp" % namespace, "w")
36 fdC.write("#include \"%s.hpp\"\n" % namespace)
73 …fdC.write("const char* %s::%sData = (const char*)temp_%s_%i;\n" % (namespace, shortFilename, short…
82 fdH.write("#endif // BINARY_%s_HPP\n" % namespace.upper())
96 namespace = sys.argv[1].replace("-","_") variable
106 for root, dirs, files in os.walk(resFolder):
108 resFiles.append(os.path.join(root, name))
113 res2c(namespace, resFiles)