Back: CPtrCType-storing Up: Base classes Forward: CScalar class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.44 CScalar

Defined in namespace Smalltalk
Superclass: CObject
Category: Language-C interface

1.44.1 CScalar class: instance creation  (class)
1.44.2 CScalar: accessing  (instance)


1.44.1 CScalar class: instance creation

gcValue: anObject
Answer a newly allocated CObject containing the passed value, anObject, in garbage-collected storage.

type
Answer a CType for the receiver--for example, CByteType if the receiver is CByte.

value: anObject
Answer a newly allocated CObject containing the passed value, anObject. Remember to call #addToBeFinalized if you want the CObject to be automatically freed


1.44.2 CScalar: accessing

cObjStoredType
Private - Provide a conversion from a CObject to a Smalltalk object to be stored by #at:put:

value
Answer the value the receiver is pointing to. The exact returned value depends on the receiver's class

value: aValue
Set the receiver to point to the value, aValue. The exact meaning of aValue depends on the receiver's class



Back: CScalar class-instance creation Up: CScalar Forward: CScalarCType   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html