Programmer Reference : VAST Virtual Machine API : OSObjects : OSVariableStructure protocols
OSVariableStructure protocols
Class methods: initialization
variableSize
Answer an Integer that is the size in bytes of one data element of the variable portion of the receiver.
variableSize: anInteger
Set an Integer that is the size in bytes of one data element of the variable portion of the receiver. This value must be set before using an instance of the receiver.
Class methods: instance creation
callocVariable: anInteger
Answer a new instance of the receiver referring to storage in operating system memory large enough to hold the fixedSize of the receiver plus anInteger times the variableSize of the receiver in bytes.
newVariable: anInteger
Answer a new instance of the receiver referring to storage in Smalltalk memory large enough to hold the fixedSize of the receiver plus anInteger times the variableSize of the receiver in bytes.
Last modified date: 01/29/2015