refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / graphics / objcache.h
blob8d1567b2f9dc6173452677683b497cf87ad2ef38
1 #ifndef OBJCACHE_H
2 #define OBJCACHE_H
4 typedef struct
6 int just_for_type_checking;
7 } ObjectCache;
9 ObjectCache *create_object_cache(OOP_Class *classPtr, STRPTR classID, struct TagItem *createTags, struct GfxBase *GfxBase);
10 VOID delete_object_cache(ObjectCache *objectCache, struct GfxBase *GfxBase);
11 OOP_Object *obtain_cache_object(ObjectCache *objectCache, struct GfxBase *GfxBase);
12 VOID release_cache_object(ObjectCache *objectCache, OOP_Object *object, struct GfxBase *GfxBase);
14 #endif