objc-cache.h 349 B

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