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:
committed by
Martin Baulig
parent
fec8f23ad4
commit
d67182f411
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user