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
|