[webkit-dev] notImplemented() macro definitions

Darin Adler darin at apple.com
Mon Apr 9 15:12:40 PDT 2007


On Apr 8, 2007, at 3:38 PM, Kevin Ollivier wrote:

> One other issue I wanted to bring up that I've run into is an issue  
> with needing the notImplementedGdk() macro to be defined even  
> though we're not using the GDK port, as we use the CURL downloader.  
> We've hacked around it in our sources for now, but IMHO we'll have  
> to either have both notImplemented() and notImplementedGdk()  
> available to the GDK port, or remove the need for a separate  
> notImplementedGdk() macro if that's possible.
>
> Also, there's a lot of duplication of notImplemented() in various  
> sources anyway, so I thought it might be worth bringing up the idea  
> of consolidating all those definitions into a header somewhere  
> (Assertions.h?). As it seems different ports might want to  
> implement it different ways, we can use #If PLATFORM(XYZ) blocks to  
> allow alternative definitions.
>
> What do you guys think? Do you see doing it this way causing any  
> problems for any of the ports? If you agree, any suggestions on  
> where notImplemented() should go?

I think we should add WebCore/platform/NotImplemented.h and use the  
#if PLATFORM(XYZ) approach.

     -- Darin




More information about the webkit-dev mailing list