mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2024-11-30 07:30:46 +00:00
24 lines
380 B
C
24 lines
380 B
C
|
|
#ifndef _OBJC_CACHE_H
|
|
#define _OBJC_CACHE_H
|
|
|
|
#include "objc-private.h"
|
|
|
|
__BEGIN_DECLS
|
|
|
|
extern void cache_init(void);
|
|
|
|
extern IMP cache_getImp(Class cls, SEL sel);
|
|
|
|
extern void cache_fill(Class cls, SEL sel, IMP imp, id receiver);
|
|
|
|
extern void cache_erase_nolock(Class cls);
|
|
|
|
extern void cache_delete(Class cls);
|
|
|
|
extern void cache_collect(bool collectALot);
|
|
|
|
__END_DECLS
|
|
|
|
#endif
|