X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/ba379fdc102753d6be2c4d937058fe40257329fe..6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174:/API/JSObjectRef.h diff --git a/API/JSObjectRef.h b/API/JSObjectRef.h index 3e8b0eb..5014726 100644 --- a/API/JSObjectRef.h +++ b/API/JSObjectRef.h @@ -288,7 +288,7 @@ typedef JSValueRef @field attributes A logically ORed set of JSPropertyAttributes to give to the property. */ typedef struct { - const char* const name; + const char* name; JSObjectGetPropertyCallback getProperty; JSObjectSetPropertyCallback setProperty; JSPropertyAttributes attributes; @@ -302,7 +302,7 @@ typedef struct { @field attributes A logically ORed set of JSPropertyAttributes to give to the property. */ typedef struct { - const char* const name; + const char* name; JSObjectCallAsFunctionCallback callAsFunction; JSPropertyAttributes attributes; } JSStaticFunction;