1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Minor whitespace clean-ups

This commit is contained in:
jules 2009-08-13 19:41:49 +00:00
parent 646732530c
commit fb5224ed74
3 changed files with 47 additions and 47 deletions

View file

@ -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;

View file

@ -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"

View file

@ -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"