1typedef unsigned long uint32; 2typedef int JSIntn; 3#define JS_DLL_CALLBACK 4typedef JSIntn JSBool; 5typedef struct JSContext JSContext; 6typedef struct JSObject JSObject; 7typedef long long JSInt64; 8typedef JSInt64 JSWord; 9typedef JSWord jsword; 10typedef jsword jsval; 11 12typedef JSBool 13(* JS_DLL_CALLBACK JSPropertyOp)(JSContext *cx, JSObject *ojb, jsval id, 14 jsval *vp); 15 16struct JSClass { 17 const char *name; 18 uint32 flags; 19 JSPropertyOp addProperty; 20}; 21 22extern struct JSClass K; 23