Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <e94_msu@e.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 14 Jul 1998 17:21:13 +0200

Re: New ggi_graphtype

Andrew Apted wrote:
> The advantage of native/reverse is that it shields *programs* from
> having to know what endianness they are, and IMHO this is more important
> than a bit of extra work within LibGGI.

Well, it wasn't the work in libggi that concerned me, I just
want the best scheme for applications, and your point is a
good one.

ggi/types.h will define GGI_LITTLE_ENDIAN or GGI_BIG_ENDIAN
which targets should use (and applications if they so desires)
Subschemes will be:
#define GT_SUB_BYTEREV         ((1<<0) << GT_SUBSCHEME_SHIFT)
#define GT_SUB_BITREV          ((1<<1) << GT_SUBSCHEME_SHIFT)
#define GT_SUB_USE             ((1<<7) << GT_SUBSCHEME_SHIFT)

Ok?

//Marcus

Index: [thread] [date] [subject] [author]