[Webkit-unassigned] [Bug 19554] JavaScriptCore API uses "bool" type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 13 12:22:37 PDT 2012


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


Gavin Barraclough <barraclough at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME
                 CC|                            |barraclough at apple.com




--- Comment #1 from Gavin Barraclough <barraclough at apple.com>  2012-03-13 12:22:37 PST ---
I believe the JavaScriptCore API is intended to be fully usable from C, yes, it does depend on stdbool.h (for better or for worse), and since this is API I don't think we could change this if we wanted to.  That said, using stdbool.h doesn't seem like a bad choice for C compilers, and is probably a good choice for making the API work well with C++ too.

I think implementing stdbool.h locally is going to be the right choice for non-C99 compilers.

I think the code & design is probably all correct.  If you have a specific issue or enhancement request here, please feel free to reopen this bug, but otherwise I think don't see anything to be addressed here.

-- 
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