![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
My only instance variable, cObjectType, is used to hold onto the CObject subclass that gets created for a given CType. Used primarily in the C part of the interpreter because internally it cannot execute methods to get values, so it has a simple way to access instance variable which holds the desired subclass.
My subclasses have instances which represent the actual data types; for the scalar types, there is only one instance created of each, but for the aggregate types, there is at least one instance per base type and/or number of elements.
1.51.1 CType class: C instance creation (class) 1.51.2 CType class: initialization (class) 1.51.3 CType: accessing (instance) 1.51.4 CType: C instance creation (instance) 1.51.5 CType: storing (instance)
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |