Int class |
Homepage Wrappers |
The Int class "wraps" an int value to allow storing it where a class object is required.
Int_new(value = 0):
Creates a new Int object.
Int_destroy(IntObject):
Destroys the Int object and frees its memory.
Int_getValue(IntObject):
Returns the value stored in the Int object.
Int_setValue(IntObject, value = 0):
Sets the value stored in the Int object.