aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/g++.dg/lto/20090311-1.h
blob: 389d94f0054a234be820026a4eb621b891806f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
typedef unsigned long uint32;
typedef int JSIntn;
#define JS_DLL_CALLBACK	
typedef JSIntn JSBool;
typedef struct JSContext JSContext;
typedef struct JSObject JSObject;
typedef long long JSInt64;
typedef JSInt64 JSWord;
typedef JSWord jsword;
typedef jsword jsval;

typedef JSBool
(* JS_DLL_CALLBACK JSPropertyOp)(JSContext *cx, JSObject *ojb, jsval id,
				 jsval *vp);

struct JSClass {
    const char *name;
    uint32 flags;
    JSPropertyOp addProperty;
};

extern struct JSClass K;