contrib/gdb-7/gdb/utils.c
void *
hashtab_obstack_allocate (void *data, size_t size, size_t count)
{
  unsigned int total = size * count;
  void *ptr = obstack_alloc ((struct obstack *) data, total);

  memset (ptr, 0, total);
  return ptr;
}
/* Allocation function for the libiberty hash table which uses an
   obstack.  The obstack is passed as DATA.  */
Allocation function for the libiberty hash table which uses an
obstack.  The obstack is passed as DATA.
Allocation function for the libiberty hash table which uses an obstack . The obstack is passed as DATA .
void *
hashtab_obstack_allocate (void *data, size_t size, size_t count)
{
  unsigned int total = size * count;
  void *ptr = obstack_alloc ((struct obstack *) data, total);
  memset (ptr, 0, total);
  return ptr;
}
void * hashtab_obstack_allocate ( void * data , size_t size , size_t count ) { unsigned int total = size * count ; void * ptr = obstack_alloc ( ( struct obstack * ) data , total ) ; memset ( ptr , 0 , total ) ; return ptr ; }
Allocation function for the libiberty hash table which uses an
obstack.
Allocation function for the libiberty hash table which uses an obstack .