Category: Language-C interface
Superclass: CPtrCType

Method category index

instance creation (class)
accessing (instance)
basic (instance)
storing (instance)

instance creation (class)

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).

from: type

Private - Called by CType>>from: for arrays

top


accessing (instance)

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

top


basic (instance)

= anObject
Return whether the receiver and anObject are equal.

hash

Return a hash code for the receiver.

top


storing (instance)

storeOn: aStream
As with super.

top