public final class ObjCBlock extends Struct<ObjCBlock>
Struct mapping the Block_literal struct used internally by
the Objective-C runtime. This class is only for internal use. See the
source code of the block interfaces in the org.robovm.objc.block
package (e.g. VoidBooleanBlock for examples on how to marshal
Objective-C block types.
The Block ABI
documentation has more information on how blocks are implemented in
Objective-C.| Modifier and Type | Class and Description |
|---|---|
static class |
ObjCBlock.Descriptor |
static class |
ObjCBlock.Wrapper |
Struct.Marshaler| Constructor and Description |
|---|
ObjCBlock() |
| Modifier and Type | Method and Description |
|---|---|
ObjCBlock.Descriptor |
descriptor() |
ObjCBlock |
descriptor(ObjCBlock.Descriptor descriptor) |
int |
flags() |
ObjCBlock |
flags(int flags) |
boolean |
hasObject() |
long |
invoke() |
ObjCBlock |
invoke(long invoke) |
long |
isa() |
ObjCBlock |
isa(long isa) |
long |
object_addr() |
ObjCBlock |
object_addr(long object_addr) |
Object |
object() |
ObjCBlock |
object(Object o) |
int |
reserved() |
ObjCBlock |
reserved(int reserved) |
long |
wrapper_addr() |
ObjCBlock |
wrapper_addr(long wrapper_addr) |
ObjCBlock.Wrapper |
wrapper() |
ObjCBlock |
wrapper(ObjCBlock.Wrapper o) |
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrapequals, getHandle, hashCode, setHandleclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic long isa()
public ObjCBlock isa(long isa)
public int flags()
public ObjCBlock flags(int flags)
public int reserved()
public ObjCBlock reserved(int reserved)
public long invoke()
public ObjCBlock invoke(long invoke)
public ObjCBlock.Descriptor descriptor()
public ObjCBlock descriptor(ObjCBlock.Descriptor descriptor)
public long object_addr()
public ObjCBlock object_addr(long object_addr)
public long wrapper_addr()
public ObjCBlock wrapper_addr(long wrapper_addr)
public Object object()
public ObjCBlock.Wrapper wrapper()
public ObjCBlock wrapper(ObjCBlock.Wrapper o)
public boolean hasObject()
Copyright © 2012-2015 RoboVM AB. All Rights Reserved.