Back: CPtrCType-accessing
Up: Class reference
Forward: CScalar class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.40 CScalar

Defined in namespace Smalltalk
Category: Language-C interface

6.40.1 CScalar class: instance creation  (class)
6.40.2 CScalar: accessing  (instance)


6.40.1 CScalar class: instance creation

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


6.40.2 CScalar: accessing

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




This document was generated on May, 12 2002 using texi2html