They're used to create Objective-C bindings on Mac port:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html

Since the target language is Objective-C, it necessarily invokes some
Objective-C code.

If you're interested in looking at JavaScript binding code, look at js
subdirectory instead.

- R. Niwa


On Mon, Jul 8, 2013 at 5:03 PM, server leejune <[email protected]>wrote:

> Hi All,
>
> I am new to webkit.
> When I dig into WebCore source code, I found some part of code are written
> in Objective C, such as WebCore/bindings/objc.
> Why bindings code can't be written in cpp totally?
> In my understanding, this should be generic code and should be used in all
> platforms.
>
> Thanks in advance for any answers.
> Leejune
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to