POV-Ray : Newsgroups : povray.off-topic : This is great : Re: This is great Server Time
5 Sep 2024 17:11:15 EDT (-0400)
  Re: This is great  
From: Chambers
Date: 25 Aug 2009 00:46:15
Message: <4a936c97$1@news.povray.org>
Darren New wrote:
> Invisible wrote:
>> If you're got to actually change function prototypes then, yeah, 
>> that's not going to happen...
> 
> Not sure why not. It's actually pretty easy.
> 
> You fix the routine that needs the new parameter, and the routine that 
> has the new parameter. You compile the code. Anyone who calls the new 
> routine won't compile. Fix them to accept a new parameter and pass it 
> in. Iterate until all functions on the call chain between where you have 
> the parameter and where you need the parameter are passing it down.
> 

Aren't Callback functions often used in places where it's not easy to 
just change one thing and recompile?  I would think that many parts of 
the codebase would depend on that specific function signature being the 
way it is.

...Chambers


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.