view gcc/testsuite/g++.dg/lto/20090311-1.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

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;