Mercurial > hg > svcore
comparison system/System.h @ 303:15b47d30c085
* Ensure locale from environment is retained after plugin load, not
just C locale
author | Chris Cannam |
---|---|
date | Fri, 05 Oct 2007 13:26:47 +0000 |
parents | 7033e188b2b2 |
children | bef4604d82fa |
comparison
equal
deleted
inserted
replaced
302:726b32522e3f | 303:15b47d30c085 |
---|---|
103 | 103 |
104 // Return a vague approximation to the number of free megabytes of disc space | 104 // Return a vague approximation to the number of free megabytes of disc space |
105 // on the partition containing the given path. Return -1 if unknown. | 105 // on the partition containing the given path. Return -1 if unknown. |
106 extern int GetDiscSpaceMBAvailable(const char *path); | 106 extern int GetDiscSpaceMBAvailable(const char *path); |
107 | 107 |
108 extern void StoreStartupLocale(); | |
109 extern void RestoreStartupLocale(); | |
110 | |
108 #include <cmath> | 111 #include <cmath> |
109 | 112 |
110 extern double mod(double x, double y); | 113 extern double mod(double x, double y); |
111 extern float modf(float x, float y); | 114 extern float modf(float x, float y); |
112 | 115 |