Parameter block initialisation

Tony van der Hoff tony at mk-net.demon.co.uk
Tue Oct 30 12:48:33 GMT 2001


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?

-- 
Tony van der Hoff         | MailTo:tony at mk-net.demon.co.uk
                          | MailTo:avanderhoff at iee.org
Buckinghamshire, England  | http:www.mk-net.demon.co.uk



More information about the oslib-team mailing list