[Webkit-unassigned] [Bug 67705] [EFL] Add missing *void* parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 8 16:40:50 PDT 2011


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





--- Comment #6 from Lucas De Marchi <demarchi at webkit.org>  2011-09-08 16:40:50 PST ---
(In reply to comment #4)
> ewk code is actually a mix of C++ and C, as variables are sometimes declared in the middle of functions and we have instantiate classes and call C++ code. IMO, we should not strive to be as C++-free as possible, as some of the language's features can be useful.
> 
> That said, using (void) should be really needed in public headers, as these are going to be included by C applications and not having it will cause the C compiler to accept multiple parameters instead of none. Implementation files and internal headers do not need that, as they are only seen by the C++ compiler.

Yes... we have a C interface (the public headers) but the implementation is C++, just like is done for JSC, gtk, etc.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list