darling-objc4/runtime/objc-cache.h
2020-06-09 21:50:17 -04:00

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