Mercurial > hg > dmlib
diff dmres.h @ 4:e0fc7863d024
Mask out bits from resFlags that should not be there after initialization.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 03:45:02 +0300 |
parents | 32250b436bca |
children | 2f463a59d732 |
line wrap: on
line diff
--- a/dmres.h Fri Sep 28 02:24:40 2012 +0300 +++ b/dmres.h Fri Sep 28 03:45:02 2012 +0300 @@ -37,6 +37,7 @@ DMF_PRELOAD = 0x0001, // Preload this resource DMF_PERSIST = 0x0002, // Persist loaded resource (only freed at shutdown/explicit prune) //DMF_STREAM = 0x0004, // This resource is streamed + DMF_MASK = 0x0fff, DMF_LOADED = 0x1000, // Resource has been loaded };