ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/rtmisc.h
Revision: 3.5
Committed: Mon Jul 21 22:30:17 2003 UTC (20 years, 9 months ago) by schorsch
Content type: text/plain
Branch: MAIN
Changes since 3.4: +1 -8 lines
Log Message:
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

File Contents

# Content
1 /* RCSid $Id: rtmisc.h,v 3.4 2003/07/17 09:21:29 schorsch Exp $ */
2 /*
3 * Miscellaneous Radiance definitions
4 */
5 #ifndef _RAD_RTMISC_H_
6 #define _RAD_RTMISC_H_
7
8 #include <stdlib.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 /* defined in bmalloc.c */
15 extern char *bmalloc(unsigned int n);
16 extern void bfree(char *p, unsigned int n);
17 /* defined in myhostname.c */
18 extern char *myhostname(void);
19
20 #ifdef __cplusplus
21 }
22 #endif
23 #endif /* _RAD_RTMISC_H_ */
24