Changeset 21310 in webkit for trunk/JavaScriptCore/API/APICast.h


Ignore:
Timestamp:
May 8, 2007, 11:31:15 AM (18 years ago)
Author:
ggaren
Message:

Build fix -- this time for sure.


APICast.h, being private, ends up in a different folder than JSValueRef.h,
so we can't include one from the other using "". Instead, just forward
declare the relevant data types.

  • API/APICast.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/APICast.h

    r15480 r21310  
    2828#define APICast_h
    2929
    30 #include "JSValueRef.h"
    3130#include "ustring.h"
    3231
     
    3736    class PropertyNameArray;
    3837}
     38
     39typedef const struct OpaqueJSContext* JSContextRef;
     40typedef struct OpaqueJSContext* JSGlobalContextRef;
     41typedef struct OpaqueJSString* JSStringRef;
     42typedef struct OpaqueJSPropertyNameAccumulator* JSPropertyNameAccumulatorRef;
     43typedef const struct OpaqueJSValue* JSValueRef;
     44typedef struct OpaqueJSValue* JSObjectRef;
    3945
    4046/* Opaque typing convenience methods */
Note: See TracChangeset for help on using the changeset viewer.