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;
      11  
      12  typedef JSBool
      13  (* JS_DLL_CALLBACK JSPropertyOp)(JSContext *cx, JSObject *ojb, jsval id,
      14  				 jsval *vp);
      15  
      16  struct JSClass {
      17      const char *name;
      18      uint32 flags;
      19      JSPropertyOp addProperty;
      20  };
      21  
      22  extern struct JSClass K;