Parameter block initialisation

Jonathan Coxhead jonathan at doves.demon.co.uk
Tue Oct 30 19:26:32 GMT 2001


On 30 Oct 2001, at 12:48, Tony van der Hoff wrote:

> It has been suggested that it would be nice if OSLib could automatically
> perform the partial initialisation of parameter blocks where this is
> required, e.g. |oswordreadclock_utc(&utc)| requires that |utc.op| is
> initialised with |oswordreadclock_OP_UTC|.
> 
> Obviously this requires an enhancement to DefMod; and given that there are
> very few calls which initialise a parameter block in this way, it may simply not
> be worth the effort. OTOH, if it could be done simply, it would be a nice
> enhancement.
> 
> Has anyone got any suggestions?

   Sure---don't do it!

   I agree it could have been better documented, but I think that was taken 
care of, wasn't it?

        /|
 o o o (_|/
        /|
       (_/



More information about the oslib-team mailing list