Changeset 34599 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jun 16, 2008, 6:48:51 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSBase.h
r31150 r34599 1 /* -*- mode: c++; c-basic-offset: 4 -*- */2 1 /* 3 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. -
trunk/JavaScriptCore/API/JSClassRef.h
r34581 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. -
trunk/JavaScriptCore/API/JSContextRef.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. … … 75 74 #endif 76 75 77 #endif / / JSContextRef_h76 #endif /* JSContextRef_h */ -
trunk/JavaScriptCore/API/JSObjectRef.h
r29991 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. … … 32 31 33 32 #include <stdbool.h> 34 #include <stddef.h> / / for size_t33 #include <stddef.h> /* for size_t */ 35 34 36 35 #ifdef __cplusplus … … 339 338 */ 340 339 typedef struct { 341 int version; / / current (and only) version is 0340 int version; /* current (and only) version is 0 */ 342 341 JSClassAttributes attributes; 343 342 … … 643 642 #endif 644 643 645 #endif / / JSObjectRef_h644 #endif /* JSObjectRef_h */ -
trunk/JavaScriptCore/API/JSStringRef.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. … … 31 30 32 31 #include <stdbool.h> 33 #include <stddef.h> / / for size_t32 #include <stddef.h> /* for size_t */ 34 33 35 34 #ifdef __cplusplus … … 141 140 #endif 142 141 143 #endif / / JSStringRef_h142 #endif /* JSStringRef_h */ -
trunk/JavaScriptCore/API/JSStringRefBSTR.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2007 Apple Inc. All rights reserved. … … 39 38 #endif 40 39 41 / / COM convenience methods40 /* COM convenience methods */ 42 41 43 42 /*! … … 61 60 #endif 62 61 63 #endif / / JSStringRefBSTR_h62 #endif /* JSStringRefBSTR_h */ -
trunk/JavaScriptCore/API/JSStringRefCF.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006, 2007 Apple Computer, Inc. All rights reserved. … … 35 34 #endif 36 35 37 / / CFString convenience methods36 /* CFString convenience methods */ 38 37 39 38 /*! … … 54 53 */ 55 54 JS_EXPORT CFStringRef JSStringCopyCFString(CFAllocatorRef alloc, JSStringRef string); 56 55 57 56 #ifdef __cplusplus 58 57 } 59 58 #endif 60 59 61 #endif / / JSStringRefCF_h60 #endif /* JSStringRefCF_h */ -
trunk/JavaScriptCore/API/JSValueRef.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. … … 128 127 JS_EXPORT bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass); 129 128 130 / / Comparing values129 /* Comparing values */ 131 130 132 131 /*! … … 162 161 JS_EXPORT bool JSValueIsInstanceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception); 163 162 164 / / Creating values163 /* Creating values */ 165 164 166 165 /*! … … 208 207 JS_EXPORT JSValueRef JSValueMakeString(JSContextRef ctx, JSStringRef string); 209 208 210 / / Converting to primitive values209 /* Converting to primitive values */ 211 210 212 211 /*! … … 249 248 JS_EXPORT JSObjectRef JSValueToObject(JSContextRef ctx, JSValueRef value, JSValueRef* exception); 250 249 251 / / Garbage collection250 /* Garbage collection */ 252 251 /*! 253 252 @function … … 275 274 #endif 276 275 277 #endif / / JSValueRef_h276 #endif /* JSValueRef_h */ -
trunk/JavaScriptCore/API/JavaScript.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006 Apple Inc. All rights reserved. … … 35 34 #include <JavaScriptCore/JSValueRef.h> 36 35 37 #endif / / JavaScript_h36 #endif /* JavaScript_h */ -
trunk/JavaScriptCore/API/JavaScriptCore.h
r29663 r34599 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. … … 31 30 #include <JavaScriptCore/JSStringRefCF.h> 32 31 33 #endif / / JavaScriptCore_h32 #endif /* JavaScriptCore_h */ -
trunk/JavaScriptCore/ChangeLog
r34598 r34599 1 2008-06-16 Christian Dywan <[email protected]> 2 3 Reviewed by Sam. 4 5 https://bugs.webkit.org/show_bug.cgi?id=19552 6 JavaScriptCore headers use C++ style comments 7 8 Replace all C++ style comments with C style multiline 9 comments and remove all "mode" lines. 10 11 * API/JSBase.h: 12 * API/JSClassRef.h: 13 * API/JSContextRef.h: 14 * API/JSObjectRef.h: 15 * API/JSStringRef.h: 16 * API/JSStringRefBSTR.h: 17 * API/JSStringRefCF.h: 18 * API/JSValueRef.h: 19 * API/JavaScript.h: 20 * API/JavaScriptCore.h: 21 1 22 2008-06-16 Christian Dywan <[email protected]> 2 23
Note:
See TracChangeset
for help on using the changeset viewer.