[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20090311-1.h
blob389d94f0054a234be820026a4eb621b891806f19
1 typedef unsigned long uint32;
2 typedef int JSIntn;
3 #define JS_DLL_CALLBACK
4 typedef JSIntn JSBool;
5 typedef struct JSContext JSContext;
6 typedef struct JSObject JSObject;
7 typedef long long JSInt64;
8 typedef JSInt64 JSWord;
9 typedef JSWord jsword;
10 typedef jsword jsval;
12 typedef JSBool
13 (* JS_DLL_CALLBACK JSPropertyOp)(JSContext *cx, JSObject *ojb, jsval id,
14 jsval *vp);
16 struct JSClass {
17 const char *name;
18 uint32 flags;
19 JSPropertyOp addProperty;
22 extern struct JSClass K;