Changeset 34599 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jun 16, 2008, 6:48:51 AM (17 years ago)
Author:
[email protected]
Message:

JavaScriptCore headers use C++ style comments

https://bugs.webkit.org/show_bug.cgi?id=19552

Replace all C++ style comments with C style multiline
comments and remove all "mode" lines.

Reviewed by Sam.

Location:
trunk/JavaScriptCore
Files:
11 edited

Legend:

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

    r31150 r34599  
    1 /* -*- mode: c++; c-basic-offset: 4 -*- */
    21/*
    32 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
  • trunk/JavaScriptCore/API/JSClassRef.h

    r34581 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
  • trunk/JavaScriptCore/API/JSContextRef.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
     
    7574#endif
    7675
    77 #endif // JSContextRef_h
     76#endif /* JSContextRef_h */
  • trunk/JavaScriptCore/API/JSObjectRef.h

    r29991 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
     
    3231
    3332#include <stdbool.h>
    34 #include <stddef.h> // for size_t
     33#include <stddef.h> /* for size_t */
    3534
    3635#ifdef __cplusplus
     
    339338*/
    340339typedef struct {
    341     int                                 version; // current (and only) version is 0
     340    int                                 version; /* current (and only) version is 0 */
    342341    JSClassAttributes                   attributes;
    343342
     
    643642#endif
    644643
    645 #endif // JSObjectRef_h
     644#endif /* JSObjectRef_h */
  • trunk/JavaScriptCore/API/JSStringRef.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
     
    3130
    3231#include <stdbool.h>
    33 #include <stddef.h> // for size_t
     32#include <stddef.h> /* for size_t */
    3433
    3534#ifdef __cplusplus
     
    141140#endif
    142141
    143 #endif // JSStringRef_h
     142#endif /* JSStringRef_h */
  • trunk/JavaScriptCore/API/JSStringRefBSTR.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2007 Apple Inc.  All rights reserved.
     
    3938#endif
    4039
    41 // COM convenience methods
     40/* COM convenience methods */
    4241
    4342/*!
     
    6160#endif
    6261
    63 #endif // JSStringRefBSTR_h
     62#endif /* JSStringRefBSTR_h */
  • trunk/JavaScriptCore/API/JSStringRefCF.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006, 2007 Apple Computer, Inc.  All rights reserved.
     
    3534#endif
    3635
    37 // CFString convenience methods
     36/* CFString convenience methods */
    3837
    3938/*!
     
    5453*/
    5554JS_EXPORT CFStringRef JSStringCopyCFString(CFAllocatorRef alloc, JSStringRef string);
    56    
     55
    5756#ifdef __cplusplus
    5857}
    5958#endif
    6059
    61 #endif // JSStringRefCF_h
     60#endif /* JSStringRefCF_h */
  • trunk/JavaScriptCore/API/JSValueRef.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
     
    128127JS_EXPORT bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass);
    129128
    130 // Comparing values
     129/* Comparing values */
    131130
    132131/*!
     
    162161JS_EXPORT bool JSValueIsInstanceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception);
    163162
    164 // Creating values
     163/* Creating values */
    165164
    166165/*!
     
    208207JS_EXPORT JSValueRef JSValueMakeString(JSContextRef ctx, JSStringRef string);
    209208
    210 // Converting to primitive values
     209/* Converting to primitive values */
    211210
    212211/*!
     
    249248JS_EXPORT JSObjectRef JSValueToObject(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
    250249
    251 // Garbage collection
     250/* Garbage collection */
    252251/*!
    253252@function
     
    275274#endif
    276275
    277 #endif // JSValueRef_h
     276#endif /* JSValueRef_h */
  • trunk/JavaScriptCore/API/JavaScript.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006 Apple Inc. All rights reserved.
     
    3534#include <JavaScriptCore/JSValueRef.h>
    3635
    37 #endif // JavaScript_h
     36#endif /* JavaScript_h */
  • trunk/JavaScriptCore/API/JavaScriptCore.h

    r29663 r34599  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
    21/*
    32 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
     
    3130#include <JavaScriptCore/JSStringRefCF.h>
    3231
    33 #endif // JavaScriptCore_h
     32#endif /* JavaScriptCore_h */
  • trunk/JavaScriptCore/ChangeLog

    r34598 r34599  
     12008-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
    1222008-06-16  Christian Dywan  <[email protected]>
    223
Note: See TracChangeset for help on using the changeset viewer.