blob: 1c72b6accabf2c663f231b1cc98acd995987b9e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
enum Lisp_Type
{
Lisp_Int
,Lisp_Record
,Lisp_Cons
,Lisp_String
,Lisp_Vector
,Lisp_Symbol
,Lisp_Char
};
typedef
union Lisp_Object
{
struct
{
enum Lisp_Type type: 3L ;
unsigned long markbit: 1;
unsigned long val: 32;
} gu;
long i;
}
Lisp_Object;
extern int initialized;
void
init_device_faces (int *d)
{
if (initialized)
{
Lisp_Object tdevice;
do {
tdevice = (union Lisp_Object)
{ gu:
{ markbit: 0,
type: Lisp_Record,
val: ((unsigned long )d)
}
};
} while (0);
call_critical_lisp_code (tdevice);
}
}
|