core/CellArray.h
branchsourcemod-1.1.0
changeset 1715 f9ecab642e25
parent 1664 e054be79e28a
child 1766 d30c252089be
     1.1 --- a/core/CellArray.h	Sun Nov 11 20:59:20 2007 +0000
     1.2 +++ b/core/CellArray.h	Fri Nov 23 05:10:33 2007 +0000
     1.3 @@ -32,6 +32,8 @@
     1.4  #include <malloc.h>
     1.5  #include <string.h>
     1.6  
     1.7 +extern HandleType_t htCellArray;
     1.8 +
     1.9  class CellArray
    1.10  {
    1.11  public:
    1.12 @@ -149,6 +151,11 @@
    1.13  		return array;
    1.14  	}
    1.15  
    1.16 +	cell_t *base()
    1.17 +	{
    1.18 +		return m_Data;
    1.19 +	}
    1.20 +
    1.21  private:
    1.22  	bool GrowIfNeeded(size_t count)
    1.23  	{