24 #include <sys/types.h>
54 asset =
new(Asset, path, npath);
68 if (asset->ref_count > 1) {
70 return asset->ref_count;
size_t assetPoolRelease(Asset asset)
static void freeAsset(const void *_node)
void * hashGet(Hash, const char *, size_t)
Asset assetPoolGet(const char *path, size_t npath)
void assetPoolCleanup(void)
void * hashDelete(Hash, const char *, size_t)
void * hashAdd(Hash, void *)
void hashEach(Hash, void(*)(const void *))