]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/PagedAllocator.h
new object file format in compiler
[l2e.git] / src / loader / PagedAllocator.h
index 13b79a49b68767d2eb790c4f81ee12840750d84b..b9922c446446c5bb64f492f365ee04f394d8ceea 100644 (file)
@@ -17,6 +17,9 @@ private:
 public:
        char *Alloc(unsigned int size);
 
+       unsigned int PageOf(void *) const;
+       unsigned int PageOffsetOf(void *) const;
+
 private:
        unsigned int Free() const;
        void NewPage();