diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-07-10 22:09:26 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-07-10 22:09:26 +0300 |
commit | 644656aa562a78edf384abd6f4ce80bc930d5547 (patch) | |
tree | a79082623aa01754bf31555c72031ad6bb24feb4 /src/w32.h | |
parent | 64c333303ce41c4d014d676ff4cbeeb887506c9e (diff) | |
download | emacs-644656aa562a78edf384abd6f4ce80bc930d5547.tar.gz |
Implement memory-info for MS-Windows.
src/w32.c (w32_memory_info): New function.
src/w32.h (w32_memory_info): Prototype it.
src/alloc.c (Fmemory_info) [WINDOWSNT]: Call it.
Diffstat (limited to 'src/w32.h')
-rw-r--r-- | src/w32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32.h b/src/w32.h index 33fd2709a71..94f7a962833 100644 --- a/src/w32.h +++ b/src/w32.h @@ -206,6 +206,10 @@ extern void register_child (pid_t, int); extern void sys_sleep (int); extern int sys_link (const char *, const char *); +/* Return total and free memory info. */ +extern int w32_memory_info (unsigned long long *, unsigned long long *, + unsigned long long *, unsigned long long *); + #ifdef HAVE_GNUTLS #include <gnutls/gnutls.h> |