This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Foo.java | |
*/ | |
package com.apportable.example; | |
... | |
public class Foo { | |
public static void initialize(Activity activity, String appId) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <objc/message.h> | |
typedef struct class_t { | |
struct class_t *isa; | |
struct class_t *superclass; | |
void *cache; | |
IMP *vtable; | |
uintptr_t data_NEVER_USE; | |
} class_t; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct BlockObject { | |
Class isa; | |
int retainCount; | |
struct BlockObject *(^alloc)(); | |
struct BlockObject *(^init)(); | |
struct BlockObject *(^retain)(); | |
void (^release)(); | |
struct BlockObject *(^autorelease)(); | |
void (^dealloc)(); | |
} BlockObject = { |
NewerOlder