Added pointer_size' which is the number of bits of a void *'.

1999-05-06  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/sysdeps.h (glibtop_sysdeps): Added `pointer_size'
	which is the number of bits of a `void *'.
This commit is contained in:
Martin Baulig
1999-05-06 19:49:31 +00:00
committed by Martin Baulig
parent fec8f23ad4
commit d67182f411
7 changed files with 41 additions and 26 deletions

View File

@@ -243,6 +243,8 @@ glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
for (init_fkt = _glibtop_init_hook_s; *init_fkt; init_fkt++)
(*init_fkt) (server);
server->sysdeps.pointer_size = sizeof (void*)*8;
server->flags |= _GLIBTOP_INIT_STATE_SYSDEPS;
}