Atrinik Server  4.0
Macros
Cache flags

Macros

#define CACHE_FLAG_PYOBJ   1
 
#define CACHE_FLAG_AUTOFREE   2
 
#define CACHE_FLAG_GEVENT   4
 

Detailed Description

The various cache flag bitmasks.

Macro Definition Documentation

#define CACHE_FLAG_AUTOFREE   2

Automatically free() the pointer in the cache entry.

Definition at line 501 of file global.h.

#define CACHE_FLAG_GEVENT   4

Does the cache entry want plugin global event when it's removed?

Definition at line 503 of file global.h.

#define CACHE_FLAG_PYOBJ   1

The cache contains pointer to a PyObject.

Definition at line 499 of file global.h.