[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bit naming convention
From: |
Mikael Djurfeldt |
Subject: |
Re: Bit naming convention |
Date: |
20 Apr 2001 00:25:34 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Mikael Djurfeldt <address@hidden> writes:
> Actually, this fits well with already existing convention:
>
> Struct flags in struct.h:
>
> SCM_STRUCTF_
>
> Class flags in goops.h:
>
> SCM_CLASSF_
Obviously, it doesn't. (Hmm... it takes time to be in a hurry...)
The corresponding flag would be:
SCM_ARRAYF_CONTIGUOUS
which is short and nice. It's still along the lines of specifying in
the second position the type of object which the name refers to
similarly to scm_c_ & co.
BTW, note that flag names occur in logical expressions. They have an
even greater need of being short than for example names of functions.