|
From: | Holger Hans Peter Freyther |
Subject: | Re: [Help-smalltalk] CStruct ABI and packed structs |
Date: | Fri, 15 Oct 2010 17:55:12 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc14 Lightning/1.0b2 Thunderbird/3.1.4 |
On 06/06/2010 09:35 AM, Paolo Bonzini wrote: > CCompound subclass: CPackedStruct [ > > <shape: #word> > <category: 'Language-C interface'> > <comment: nil> > > CPackedStruct class >> declaration: array [ > "Compile methods that implement the declaration in array." > > <category: 'subclass creation'> > self > declaration: array > inject: self superclass sizeof > into: [:oldOffset :alignment | oldOffset] > ] compileSize: size align: alignment [ super compileSize: size align: 1 ] > ] is there a place for CPackedStruct in the GST Kernel? Somewhere else?
[Prev in Thread] | Current Thread | [Next in Thread] |