Error cases: character is assumed to be a character. Some VA Smalltalk characters will not fit in a
char. The return value in this case is unspecified.
Converts object to a C
double and stores the result in the location pointed to by
value. Returns an
EsPrimErr code. If the return value is
EsPrimErrNoError then
*value is valid. Otherwise,
*value is invalid.
Error cases: An error occurs if
object is not a
Float.
Converts object to a C signed 32-bit Integer and stores the result in the location pointed to by
value. Returns an
EsPrimErr code. If the return value is
EsPrimErrNoError then
*value is valid. Otherwise,
*value is invalid.
Error cases: An error occurs if
object is not a smallInteger or largeInteger. An error occurs if the value of the number cannot fit in 32 bits signed.
Converts object to a C unsigned 32-bit integer and stores the result in the location pointed to by
value. Returns an
EsPrimErr code. If the return value is
EsPrimErrNoError then
*value is valid. Otherwise,
*value is invalid.
Error cases: An error occurs if
object is not a smallInteger or largeInteger. An error occurs if the value of the number cannot fit in 32 bits unsigned.
Converts object to a C unsigned pointer-width integer and stores the result in the location pointed to by
value. Returns an
EsPrimErr code. If the return value is
EsPrimErrNoError then
*value is valid. Otherwise,
*value is invalid.
Error cases: An error occurs if
object is not a smallInteger or largeInteger. An error occurs if the value of the number cannot fit in an unsigned pointer-width integer.
Copyright 2005, 2020 Instantiations, Inc. All rights reserved.