mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Replaced Projucer-generated header guards with #pragma once and updated the examples
This commit is contained in:
parent
31c80db5a2
commit
e33abbc6fe
230 changed files with 322 additions and 1219 deletions
|
|
@ -153,8 +153,7 @@ int main (int argc, char* argv[])
|
|||
}
|
||||
|
||||
*header << "/* (Auto-generated binary data file). */\r\n\r\n"
|
||||
"#ifndef BINARY_" << className.toUpperCase() << "_H\r\n"
|
||||
"#define BINARY_" << className.toUpperCase() << "_H\r\n\r\n"
|
||||
"#pragma once\r\n\r\n"
|
||||
"namespace " << className << "\r\n"
|
||||
"{\r\n";
|
||||
|
||||
|
|
@ -187,8 +186,7 @@ int main (int argc, char* argv[])
|
|||
}
|
||||
}
|
||||
|
||||
*header << "}\r\n\r\n"
|
||||
"#endif\r\n";
|
||||
*header << "}\r\n";
|
||||
|
||||
header = nullptr;
|
||||
cpp = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue