From fb5224ed747bb0083f58f67fd7d350a7939ded9b Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 13 Aug 2009 19:41:49 +0000 Subject: [PATCH] Minor whitespace clean-ups --- .../juce_mac_SystemStats.mm | 14 +++---- .../demo/src/juce_LibrarySource.mm | 40 +++++++++---------- extras/juce demo/src/juce_LibrarySource.mm | 40 +++++++++---------- 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/build/macosx/platform_specific_code/juce_mac_SystemStats.mm b/build/macosx/platform_specific_code/juce_mac_SystemStats.mm index 292f0feafc..f02c03dd3e 100644 --- a/build/macosx/platform_specific_code/juce_mac_SystemStats.mm +++ b/build/macosx/platform_specific_code/juce_mac_SystemStats.mm @@ -142,9 +142,9 @@ bool SystemStats::isOperatingSystem64Bit() throw() int SystemStats::getMemorySizeInMegabytes() throw() { uint64 mem = 0; - size_t memSize = sizeof (mem); - int mib[] = { CTL_HW, HW_MEMSIZE }; - sysctl (mib, 2, &mem, &memSize, 0, 0); + size_t memSize = sizeof (mem); + int mib[] = { CTL_HW, HW_MEMSIZE }; + sysctl (mib, 2, &mem, &memSize, 0, 0); return mem / (1024 * 1024); } @@ -198,10 +198,10 @@ const String SystemStats::getCpuVendor() throw() int SystemStats::getCpuSpeedInMegaherz() throw() { uint64 speedHz = 0; - size_t speedSize = sizeof (speedHz); - int mib[] = { CTL_HW, HW_CPU_FREQ }; - sysctl (mib, 2, &speedHz, &speedSize, 0, 0); - + size_t speedSize = sizeof (speedHz); + int mib[] = { CTL_HW, HW_CPU_FREQ }; + sysctl (mib, 2, &speedHz, &speedSize, 0, 0); + #if JUCE_BIG_ENDIAN if (speedSize == 4) speedHz >>= 32; diff --git a/extras/audio plugins/demo/src/juce_LibrarySource.mm b/extras/audio plugins/demo/src/juce_LibrarySource.mm index 6c9769b487..429beb2475 100644 --- a/extras/audio plugins/demo/src/juce_LibrarySource.mm +++ b/extras/audio plugins/demo/src/juce_LibrarySource.mm @@ -1,20 +1,20 @@ - -/* - This file includes the entire juce source tree via the amalgamated file. - - You could add the amalgamated file directly to your project, but doing it - like this allows you to put your app's config settings in the - juce_AppConfig.h file and have them applied to both the juce headers and - the source code. -*/ - -#include "juce_AppConfig.h" - -// This is where all the juce code gets included, via this amalgamated file.. -#include "../../../juce_amalgamated.mm" - -/* NB. A handy tip is that if you're doing a lot of debugging into the juce code, then stepping through - the amalgamated file can be slow or impossible for the debugger. But if you use the following line - instead of the one above, then it makes it a lot easier.. -*/ -//#include "../../../src/juce_amalgamated_template.cpp" \ No newline at end of file + +/* + This file includes the entire juce source tree via the amalgamated file. + + You could add the amalgamated file directly to your project, but doing it + like this allows you to put your app's config settings in the + juce_AppConfig.h file and have them applied to both the juce headers and + the source code. +*/ + +#include "juce_AppConfig.h" + +// This is where all the juce code gets included, via this amalgamated file.. +#include "../../../juce_amalgamated.mm" + +/* NB. A handy tip is that if you're doing a lot of debugging into the juce code, then stepping through + the amalgamated file can be slow or impossible for the debugger. But if you use the following line + instead of the one above, then it makes it a lot easier.. +*/ +//#include "../../../src/juce_amalgamated_template.cpp" diff --git a/extras/juce demo/src/juce_LibrarySource.mm b/extras/juce demo/src/juce_LibrarySource.mm index 24dcc223c6..429beb2475 100644 --- a/extras/juce demo/src/juce_LibrarySource.mm +++ b/extras/juce demo/src/juce_LibrarySource.mm @@ -1,20 +1,20 @@ - -/* - This file includes the entire juce source tree via the amalgamated file. - - You could add the amalgamated file directly to your project, but doing it - like this allows you to put your app's config settings in the - juce_AppConfig.h file and have them applied to both the juce headers and - the source code. -*/ - -#include "juce_AppConfig.h" - -// This is where all the juce code gets included, via this amalgamated file.. -#include "../../../juce_amalgamated.mm" - -/* NB. A handy tip is that if you're doing a lot of debugging into the juce code, then stepping through - the amalgamated file can be slow or impossible for the debugger. But if you use the following line - instead of the one above, then it makes it a lot easier.. -*/ -//#include "../../../src/juce_amalgamated_template.cpp" + +/* + This file includes the entire juce source tree via the amalgamated file. + + You could add the amalgamated file directly to your project, but doing it + like this allows you to put your app's config settings in the + juce_AppConfig.h file and have them applied to both the juce headers and + the source code. +*/ + +#include "juce_AppConfig.h" + +// This is where all the juce code gets included, via this amalgamated file.. +#include "../../../juce_amalgamated.mm" + +/* NB. A handy tip is that if you're doing a lot of debugging into the juce code, then stepping through + the amalgamated file can be slow or impossible for the debugger. But if you use the following line + instead of the one above, then it makes it a lot easier.. +*/ +//#include "../../../src/juce_amalgamated_template.cpp"