|
|
6.17 CArrayCType
- Defined in namespace Smalltalk
- Category: Language-C interface
6.17.1 CArrayCType class: instance creation
- elementType: aCType
- This method should not be called for instances of this class.
- elementType: aCType numberOfElements: anInteger
- Answer a new instance of CPtrCType that maps an array whose elements are of the given CType, and whose size is exactly anInteger elements (of course, anInteger only matters for allocation, not for access, since no out-of-bounds protection is provided for C objects).
6.17.2 CArrayCType: accessing
- alignof
- Answer the alignment of the receiver's instances
- numberOfElements
- Answer the number of elements in the receiver's instances
- sizeof
- Answer the size of the receiver's instances
|