Next: , Up: CArrayCType   [Index]


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

from: type

Private - Called by CType>>from: for arrays