UShort class

Homepage
Wrappers

Introduction

The UShort class "wraps" a ushort value to allow storing it where a class object is required.

Structure

  1. "Class values"
  2. UShort value

Functions

New and Destroy

UShort_new(value = 0):
Creates a new UShort object.

UShort_destroy(UShortObject):
Destroys the UShort object and frees its memory.

Getters and Setters

UShort_getValue(UShortObject):
Returns the value stored in the UShort object.

UShort_setValue(UShortObject, value = 0):
Sets the value stored in the UShort object.


Homepage  |  Wrappers