LKObject documentation

Authors

Generated by builder

Contents -

  1. LKObject types
  2. LKObject functions

LKObject types

LKObject

typedef id LKObject;
Description forthcoming.

SmallInt

typedef NSInteger SmallInt;

LKObject.h defines the type used for LanguageKit object and some functions for mapping these to and from Objective-C values. Objects in LanguageKit follow the Smalltalk model. They are either object pointers or small integer values stored in the most significant sizeof(void*)-1 bits of the pointer.

Note: In future versions of LanguageKit, on 64-bit platforms, LK objects may be modified to contain 62-bit integers, 32-bit floats, or pointers.


LKObject functions

LKObjectFromObject

LKObject LKObjectFromObject(id obj);
Description forthcoming.

LKObjectIsObject

BOOL LKObjectIsObject(LKObject obj);
Description forthcoming.

LKObjectIsSmallInt

BOOL LKObjectIsSmallInt(LKObject obj);
Description forthcoming.

LKObjectToId

id LKObjectToId(LKObject obj);
Description forthcoming.

NSIntegerFromSmallInt

NSInteger NSIntegerFromSmallInt(LKObject smallInt);
Description forthcoming.