]> git.saurik.com Git - apple/objc4.git/blob - runtime/objc-cache.h
c823fe6cc5deea412ec4b6e514fb4f89e93854fb
[apple/objc4.git] / runtime / objc-cache.h
1
2 #ifndef _OBJC_CACHE_H
3 #define _OBJC_CACHE_H
4
5 #include "objc-private.h"
6
7 __BEGIN_DECLS
8
9 extern IMP cache_getImp(Class cls, SEL sel);
10
11 extern void cache_fill(Class cls, SEL sel, IMP imp);
12
13 extern void cache_eraseMethods(Class cls, method_list_t *mlist);
14
15 extern void cache_eraseImp(Class cls, SEL sel, IMP imp);
16
17 extern void cache_eraseImp_nolock(Class cls, SEL sel, IMP imp);
18
19 extern void cache_erase_nolock(cache_t *cache);
20
21 extern void cache_collect(bool collectALot);
22
23 __END_DECLS
24
25 #endif