Changes between Version 35 and Version 36 of WebKitIDL


Ignore:
Timestamp:
Feb 17, 2012 1:22:14 AM (10 years ago)
Author:
haraken@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v35 v36  
    99= How the IDL bindings work =
    1010
    11 == JavaScriptCore ==
    12 
    13 == V8 ==
    14 
    15 == ObjC ==
    16 
    17 == GObject ==
    18 
    19 == CPP ==
     11By reading this document, you can know how IDL attributes work.
     12However, the best practice to understand IDL attributes is to use some IDL attributes and watch the bindings code actually generated.
     13
     14If you touch any IDL file, all IDL files are rebuilt.
     15The code generation is done at the very early phase of the ./webkit-build command,
     16and you can find the generated code in 1 minute.
     17
     18In case of XXX.idl, the bindings code is generated in the following files in the Release build ("Release" becomes "Debug" in the Debug build).
     19
     20 * JavaScriptCore: WebKitBuild/Release/DerivedSources/WebCore/JSXXX.h, WebKitBuild/Release/DerivedSources/WebCore/JSXXX.cpp
     21 * V8: out/Release/obj/gen/webkit/bindings/V8XXX.h, out/Release/obj/gen/webcore/bindings/V8XXX.cpp
     22 * ObjC: WebKitBuild/Release/DerivedSources/WebCore/DOMXXX.h, WebKitBuild/Release/DerivedSources/WebCore/DOMXXX.cpp
     23 * GObject: WebKitBuild/Release/DerivedSources/webkit/WebKitDOMXXX.h, WebKitBuild/Release/DerivedSources/webkit/WebKitDOMXXX.cpp
     24 * CPP:
    2025
    2126= IDL attributes =