Short class

Homepage
Wrappers

Introduction

The Short class "wraps" a short value to allow storing it where a class object is required.

Structure

  1. "Class values"
  2. Short value

Functions

New and Destroy

Short_new(value = 0):
Creates a new Short object.

Short_destroy(ShortObject):
Destroys the Short object and frees its memory.

Getters and Setters

Short_getValue(ShortObject):
Returns the value stored in the Short object.

Short_setValue(ShortObject, value = 0):
Sets the value stored in the Short object.


Homepage  |  Wrappers