mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-30 15:30:31 +00:00
14 lines
233 B
Objective-C
14 lines
233 B
Objective-C
#import <objc/runtime.h>
|
|
|
|
const char *ivar_getName(Ivar ivar){
|
|
return ivar->ivar_name;
|
|
}
|
|
|
|
size_t ivar_getOffset(Ivar ivar){
|
|
return ivar->ivar_offset;
|
|
}
|
|
|
|
const char *ivar_getTypeEncoding(Ivar ivar){
|
|
return ivar->ivar_type;
|
|
}
|