]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/PagedAllocator.h
initialize objects after loading
[l2e.git] / src / loader / PagedAllocator.h
index 59270534f23007f7e300958fcc5394219139d2e5..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();
@@ -32,4 +35,4 @@ private:
 
 }
 
-#endif /* LOADER_PAGEDALLOCATOR_H_ */
+#endif