Assembler headers

Tony van der Hoff tony at mk-net.demon.co.uk
Thu Jan 16 17:39:44 GMT 2003


On 16 Jan 2003, in message <0cc7c9b54b.philip at philipnet.com>,
Philip Ludlam <philip at philipnet.com> wrote:

> On 16 Jan, in message <1455c9b54b.philip at philipnet.com>
>   Philip Ludlam <philip at philipnet.com> wrote:
> 
> >Dear All,
> >
> >I'm not sure if there is any official convention on capitalisation for
> >the assembler headers in OSLib, but I've noticed that InetSuite refers to
> >Œhdr.Wimp as Œhdr.WIMP (all caps) where AFAIK the other files refer to it
> >as Œhdr.Wimp (initial caps).
> 
> ... except the files URI and Filter which refer to it as Œhdr.WIMP
> and there may be more.
> 

Ah.

Well, the convention is for filenames to reflect the OS names (as used by the
SWIs), which in turn are generally lowercase, with each new word capitalised,
including acronyms. Therefore you'll see OS, and OSFile, SCSI and SCSIFS,
etc. 

Evidently, WIMP is not considered an acronym, so it should be referred to as
Wimp. The file is itself correctly named, but the reference is wrong. It is
also incorrect in these: 

Root:development.libs.OsLib.OSLib.Hdr.ArcWeb
Root:development.libs.OsLib.OSLib.Hdr.Filer
Root:development.libs.OsLib.OSLib.Hdr.FilerAction
Root:development.libs.OsLib.OSLib.Hdr.Filter
Root:development.libs.OsLib.OSLib.Hdr.InetSuite
Root:development.libs.OsLib.OSLib.Hdr.OLE
Root:development.libs.OsLib.OSLib.Hdr.PDriver
Root:development.libs.OsLib.OSLib.Hdr.PlugIn
Root:development.libs.OsLib.OSLib.Hdr.StrongHelp
Root:development.libs.OsLib.OSLib.Hdr.TaskWindow
Root:development.libs.OsLib.OSLib.Hdr.URI 

While poking around in there, I also notice that Types appears as Hdr.types,
and Macros as Hdr.macros, in line with the correct h.types, but are wrong in
the Hdr context. I guess that'll need to be made a special case in the build
scripts. Yuk!

I'll put it in the todo list, thanks for pointing it out. Presumably this is
another benefit of your Build under Unix project!
 
 Cheers, Tony

-- 
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-user mailing list