POV-Ray : Newsgroups : povray.off-topic : This is great : Re: This is great Server Time
5 Sep 2024 19:27:37 EDT (-0400)
  Re: This is great  
From: Darren New
Date: 24 Aug 2009 12:24:52
Message: <4a92bed4$1@news.povray.org>
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.

-- 
   Darren New, San Diego CA, USA (PST)
   Understanding the structure of the universe
    via religion is like understanding the
     structure of computers via Tron.


Post a reply to this message

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