0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-13 12:08:55 +02:00
Commit graph

1 commit

Author SHA1 Message Date
William Pitcock
64b56afd8c Add a new dynamic capability manager.
Specifically, what this capability manager does, is map keywords to
calculated bitmasks.  These bitmasks are allocated at runtime, so that
the any managed capability index can be manipulated by modules.

Modules should call capability_orphan() when orphaning capabilities.  This
makes it so that bitmasks aren't reallocated, except for cases where the
capability is the same.
2012-02-04 00:05:13 -06:00