| Revision: | 3.6 |
| Committed: | Sun Mar 28 20:33:12 2004 UTC (21 years, 7 months ago) by schorsch |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | rad5R4, rad5R2, rad5R3, rad5R0, rad5R1, rad4R2, rad3R7P2, rad3R7P1, rad6R0, rad4R1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad4R2P2, HEAD |
| Changes since 3.5: | +12 -5 lines |
| Log Message: | Continued ANSIfication, and other fixes and clarifications. |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | schorsch | 3.6 | /* RCSid $Id: rtmisc.h,v 3.5 2003/07/21 22:30:17 schorsch Exp $ */ |
| 2 | greg | 3.1 | /* |
| 3 | * Miscellaneous Radiance definitions | ||
| 4 | */ | ||
| 5 | #ifndef _RAD_RTMISC_H_ | ||
| 6 | #define _RAD_RTMISC_H_ | ||
| 7 | |||
| 8 | schorsch | 3.6 | #include <stdlib.h> |
| 9 | schorsch | 3.3 | |
| 10 | #ifdef __cplusplus | ||
| 11 | extern "C" { | ||
| 12 | greg | 3.1 | #endif |
| 13 | |||
| 14 | /* defined in bmalloc.c */ | ||
| 15 | schorsch | 3.6 | extern void *bmalloc(size_t size); |
| 16 | extern void bfree(void *ptr, size_t size); | ||
| 17 | |||
| 18 | /* defined in ealloc.c */ | ||
| 19 | extern void *emalloc(size_t size); | ||
| 20 | extern void *ecalloc(size_t nmemb, size_t size); | ||
| 21 | extern void *erealloc(void *ptr, size_t size); | ||
| 22 | extern void efree(void *ptr); | ||
| 23 | |||
| 24 | /* defined in myhostname.c */ | ||
| 25 | schorsch | 3.4 | extern char *myhostname(void); |
| 26 | greg | 3.1 | |
| 27 | #ifdef __cplusplus | ||
| 28 | } | ||
| 29 | #endif | ||
| 30 | #endif /* _RAD_RTMISC_H_ */ | ||
| 31 |