Copyright ©1998 by AAA+ Software Forschungs- und Entwicklungs Ges.m.b.H.  All Rights Reserved.  Revision 1.09 - March 12, 1998.

Joy Commands for Objective-C


Table of Contents
Introduction
C Macro Constants
C Types
Control Flow
Classes and Objects
Pointers
Tcl List - NSArray Conversion


Introduction
About Joy's Objective-C commands


C Macro Constants
objc:define - Define a constant
objc:loadMacros - Load constant definitions from a file
objc:undef - Undefine a constant


C Types
objc:decode - Decode an Objective-C type encoding
objc:encode - Encode a Joy type definition
objc:expandType - Expand a type definition
objc:isType - Check if a type is known
objc:isValue - Check if a value is valid for a type
objc:loadTypedefs - Load typedef definitions from a file
objc:sizeof - Return a type's size
objc:typedef - Define a new type


Control Flow
objc:foreach - Iterate over a container object
objc:uncaughtException - Raise an exeception that Joy does not catch


Objective-C Classes and Objects
objc:deallocTrace - Trace object deallocation
objc:iVarPtr - Get the address of an instance variable
objc:info - Get information about the Objective-C runtime
objc:isNullObj - Check for null object pointer
objc:newClass - Add a new class to the run-time
objc:newProtocol - Add a new protocol to the run-time
objc:protocol - Return a protocol object
objc:teach - Add new methods to objects
objc:unteach - Remove skills


Pointers
objc:call - Call-dereference a function pointer
objc:declare - Declare C variables and functions
objc:delPtr - Free memory
objc:funcPtr - Get the address of a C function
objc:newPtr - Allocate memory
objc:offsetPtr - Pointer arithmetic and type casting
objc:peek - Read-dereferene a pointer
objc:poke - Write-dereferene a pointer
objc:typeOfPtr - Type-dereferene a pointer
objc:varPtr - Get the address of a C variable


Tcl List - NSArray conversion
objc:arrayFromList - Convert a Tcl list into an NSArray
objc:listFromArray - Convert an NSArray into a Tcl list


Back to Main Index