1 |
– |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* Initialize ofun[] list for renderers |
6 |
|
*/ |
7 |
|
|
8 |
+ |
#include "copyright.h" |
9 |
+ |
|
10 |
|
#include "standard.h" |
11 |
|
|
12 |
|
#include "otypes.h" |
31 |
|
extern int t_func(), t_data(); |
32 |
|
extern int p_cfunc(), p_bfunc(); |
33 |
|
extern int p_pdata(), p_cdata(), p_bdata(); |
34 |
< |
extern int mx_func(), mx_data(); |
34 |
> |
extern int mx_func(), mx_data(), mx_pdata(); |
35 |
|
extern int do_text(); |
36 |
|
|
37 |
|
FUN ofun[NUMOTYPE] = INIT_OTYPE; |
91 |
|
ofun[MIX_TEXT].funp = do_text; |
92 |
|
ofun[MIX_FUNC].funp = mx_func; |
93 |
|
ofun[MIX_DATA].funp = mx_data; |
94 |
+ |
ofun[MIX_PICT].funp = mx_pdata; |
95 |
|
} |
96 |
|
|
97 |
|
|
98 |
|
o_default() /* default action is error */ |
99 |
|
{ |
100 |
|
error(INTERNAL, "unexpected object call"); |
101 |
+ |
/* call to pull in freeobjmem.o */ |
102 |
+ |
free_objs(0, 0); |
103 |
|
} |