[svn:parrot] r49609 - trunk/config/gen/platform/win32
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Wed Oct 20 10:55:39 UTC 2010
Author: mikehh
Date: Wed Oct 20 10:55:39 2010
New Revision: 49609
URL: https://trac.parrot.org/parrot/changeset/49609
Log:
fix codetest failures - there should be at least one space between a C
keyword and any subsequent open parenthesis, there should be one space or a newline after a comma and
fix documentation item header
Modified:
trunk/config/gen/platform/win32/sysmem.c
Modified: trunk/config/gen/platform/win32/sysmem.c
==============================================================================
--- trunk/config/gen/platform/win32/sysmem.c Wed Oct 20 10:37:42 2010 (r49608)
+++ trunk/config/gen/platform/win32/sysmem.c Wed Oct 20 10:55:39 2010 (r49609)
@@ -38,14 +38,14 @@
DWORDLONG ullTotalVirtual;
DWORDLONG ullAvailVirtual;
DWORDLONG ullAvailExtendedVirtual;
-} MEMORYSTATUSEX,*LPMEMORYSTATUSEX;
+} MEMORYSTATUSEX, *LPMEMORYSTATUSEX;
WINBASEAPI BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
#endif
/*
-=item C<PMC * Parrot_sysmem_amount(PARROT_INTERP)>
+=item C<size_t Parrot_sysmem_amount(PARROT_INTERP)>
Get information about available physycal memory.
@@ -62,7 +62,7 @@
/* http://msdn.microsoft.com/en-us/library/aa366589(v=VS.85).aspx */
MEMORYSTATUSEX statex;
- statex.dwLength = sizeof(MEMORYSTATUSEX);
+ statex.dwLength = sizeof (MEMORYSTATUSEX);
GlobalMemoryStatusEx(&statex);
/* TODO Check status and bail out */
return statex.ullAvailPhys;
More information about the parrot-commits
mailing list