]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - API/JSObjectRef.h
JavaScriptCore-1097.3.tar.gz
[apple/javascriptcore.git] / API / JSObjectRef.h
index 3e8b0eb62e3107ffae1bb5a1c960475e70c4b7b6..5014726bc18332ddc93c713dc0e3a353000e6945 100644 (file)
@@ -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;