home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / gd201.zip / gd-2.0.1 / gdhelpers.h < prev    next >
C/C++ Source or Header  |  2001-04-03  |  502b  |  18 lines

  1. #ifndef GDHELPERS_H 
  2. #define GDHELPERS_H 1
  3.  
  4. /* TBB: strtok_r is not universal; provide an implementation of it. */
  5.  
  6. extern char *gd_strtok_r(char *s, char *sep, char **state);
  7.  
  8. /* These functions wrap memory management. gdFree is
  9.     in gd.h, where callers can utilize it to correctly
  10.     free memory allocated by these functions with the
  11.     right version of free(). */
  12. void *gdCalloc(size_t nmemb, size_t size);
  13. void *gdMalloc(size_t size);
  14. void *gdRealloc(void *ptr, size_t size);
  15.  
  16. #endif /* GDHELPERS_H */
  17.  
  18.