Re: packed structures usefulness

2007-11-02 Thread Thien-Thi Nguyen
() "Marco Maggi" <[EMAIL PROTECTED]> () Fri, 2 Nov 2007 09:12:05 +0100 I wonder if such a module would be useful or not. i think so, if it can handle char, short, and bitfields. presuming it has length and signedness checks, it would be nice to have those configurable, as well (ie., error vs

Re: packed structures usefulness

2007-11-02 Thread Ludovic Courtès
Hi, "Marco Maggi" <[EMAIL PROTECTED]> writes: > I am in the position to add, with relatively > little effort, a module to GEE to handle > packed data structures. This means that, > as example of a still unimplemented API, doing: > > (define *triplet* > (make-gstruct-type '((one . int) >

packed structures usefulness

2007-11-02 Thread Marco Maggi
Ciao, I am in the position to add, with relatively little effort, a module to GEE to handle packed data structures. This means that, as example of a still unimplemented API, doing: (define *triplet* (make-gstruct-type '((one . int) (two . double) (three . (int64 .