aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32.h
diff options
context:
space:
mode:
authorEli Zaretskii2014-07-10 22:09:26 +0300
committerEli Zaretskii2014-07-10 22:09:26 +0300
commit644656aa562a78edf384abd6f4ce80bc930d5547 (patch)
treea79082623aa01754bf31555c72031ad6bb24feb4 /src/w32.h
parent64c333303ce41c4d014d676ff4cbeeb887506c9e (diff)
downloademacs-644656aa562a78edf384abd6f4ce80bc930d5547.tar.gz
emacs-644656aa562a78edf384abd6f4ce80bc930d5547.zip
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.h4
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);
206extern void sys_sleep (int); 206extern void sys_sleep (int);
207extern int sys_link (const char *, const char *); 207extern int sys_link (const char *, const char *);
208 208
209/* Return total and free memory info. */
210extern int w32_memory_info (unsigned long long *, unsigned long long *,
211 unsigned long long *, unsigned long long *);
212
209#ifdef HAVE_GNUTLS 213#ifdef HAVE_GNUTLS
210#include <gnutls/gnutls.h> 214#include <gnutls/gnutls.h>
211 215