objc-cache.h 380 B

1234567891011121314151617181920212223
  1. #ifndef _OBJC_CACHE_H
  2. #define _OBJC_CACHE_H
  3. #include "objc-private.h"
  4. __BEGIN_DECLS
  5. extern void cache_init(void);
  6. extern IMP cache_getImp(Class cls, SEL sel);
  7. extern void cache_fill(Class cls, SEL sel, IMP imp, id receiver);
  8. extern void cache_erase_nolock(Class cls);
  9. extern void cache_delete(Class cls);
  10. extern void cache_collect(bool collectALot);
  11. __END_DECLS
  12. #endif