Index: [thread] [date] [subject] [author]
  From: Hartmut Niemann <niemann@cip.e-technik.uni-erlangen.de>
  To  : ggi-develop@eskimo.com
  Date: Thu, 9 Jul 1998 13:14:35 +0200 (MESZ)

Re: _ggi_malloc()

> 
> I've added _ggi_malloc() as a libggi internal function.
> Currently the return value from malloc() is not checked
> at all in some places and in the places where it is checked
> we have duplicated code.
> 
> _ggi_malloc() should be used in all parts of libggi and
... where you can not continue your work if you don't get the memory ...
> has the following properties:
> * The returned pointer is guaranteed to be valid.
> * You can use realloc() and free() on the returned pointer.
> * The allocated memory consists of all zeros.
> * If the system for any reason is unable to provide memory
>   ggiPanic() is called.
> 
> //Marcus
> 
> 
Do we have documentation of any kind about libggi internal functions?

Hartmut.

--  
Hartmut Niemann   --   niemann(a)cip.e-technik.uni-erlangen.de
http://cip2.e-technik.uni-erlangen.de:8080/hyplan/niemann/index_en.html [/ggi]

Index: [thread] [date] [subject] [author]