[webkit-dev] Why there is objc code in WebCore/bindings
Ryosuke Niwa
rniwa at webkit.org
Mon Jul 8 01:21:30 PDT 2013
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 <leejune.server at gmail.com>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
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130708/ef02a837/attachment.html>
More information about the webkit-dev
mailing list