Next: CCompound-debugging, Previous: CCompound class-instance creation, Up: CCompound [Index]
Answer 1, the alignment of an empty struct
Return the pragmas that are written in the file-out of this class.
Private - Compile sizeof and alignof methods
Return the description of the fields in the receiver class.
This method’s functionality should be implemented by subclasses of CCompound
Compile methods that implement the declaration in array. To compute the offset after each field, the value of the old offset plus the new field’s size is passed to aBlock, together with the new field’s alignment requirements.
Private - Emit onto the given stream the code for adding the given selector to the CCompound’s #examineOn: method.
The old way to create a CStruct. Superseded by #subclass:declaration:...
Answer 0, the size of an empty struct
Create a new class with the given name that contains code to implement the given C struct. All the parameters except ‘array’ are the same as for a standard class creation message; see documentation for more information