diff options
author | lloyd <[email protected]> | 2006-06-25 09:07:11 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-25 09:07:11 +0000 |
commit | 97529e8854a2e89bc839e013efd2b9b05479c148 (patch) | |
tree | b21d973df70c7734779904e5f8772a7f449f1356 /include/allocate.h | |
parent | abdd958c0f4b1d880feec5e79230219005e43670 (diff) |
Have allocator objects 'know' their own names, rather than keeping them
around as ancillary strings.
Diffstat (limited to 'include/allocate.h')
-rw-r--r-- | include/allocate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/allocate.h b/include/allocate.h index a3f59cf1b..d30e4e0bc 100644 --- a/include/allocate.h +++ b/include/allocate.h @@ -20,6 +20,8 @@ class Allocator virtual void* allocate(u32bit) = 0; virtual void deallocate(void*, u32bit) = 0; + virtual std::string type() const = 0; + virtual void init() {} virtual void destroy() {} |