Expand description

Raw bindings to Objective-C runtimes

These bindings contain almost no documentation, so it is highly recommended to read the documentation of the original libraries:

See also the README.md for more background information, and for how to configure the desired runtime.

Structs

An opaque type that represents an Objective-C class.

An opaque type that represents an instance variable.

A type that represents a method in a class definition.

Describes an Objective-C method.

An opaque type that represents an object / an instance of a class.

An opaque type that describes a property in a class.

Describes an Objective-C property attribute.

Opaque type for Objective-C protocols.

An opaque type that represents a method selector.

Specifies data used when sending messages to superclasses.

Constants

The equivalent of false for Objective-C’s BOOL type.

The maximum value for an NSInteger.

The minimum value for an NSInteger.

The maximum value for an NSUInteger.

A quick alias for a null_mut class.

Only relevant before macOS 10.13

Only relevant before macOS 10.13

The equivalent of true for Objective-C’s BOOL type.

A quick alias for a null_mut object / instance.

Functions

_objc_msgForward_stretapple and non-AArch64
method_invoke_stretapple and non-AArch64
objc_addExceptionHandlerapple_new and macOS
objc_begin_catchgnustep or apple_new
objc_end_catchgnustep or apple_new
objc_getFutureClassDeprecatedapple
objc_msgSendSuper_stretapple and non-AArch64
objc_msgSend_fp2retapple and x86-64
objc_msgSend_fpretNon-objfw and (x86-64 or x86)
objc_msgSend_stretNon-objfw and non-AArch64
objc_msg_lookupgnustep or objfw
objc_msg_lookup_supergnustep or objfw
object_copyDeprecatedapple
object_disposeDeprecatedNon-objfw
sel_getUidNon-objfw

Type Definitions

The Objective-C BOOL type.

A nullable pointer to the start of a method implementation.

A signed integer value type.

Describes an unsigned integer.

An immutable pointer to a selector.

A mutable pointer to an object / instance.

objc_exception_handlerapple_new and macOS

Remember that this is non-null!

Remember that this is non-null!

Remember that this is non-null!

Remember that this is non-null!