Ignore:
Timestamp:
Oct 15, 2010, 2:13:42 PM (14 years ago)
Author:
george
Message:
  • Fixed: Focus message position in code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/Project/System.pas

    r63 r64  
    33interface
    44
    5 const
    6   MemoryManagerSizeType: TType = Integer;
    7  
    85type
    96  TType = internal;
     
    2522  TObject = class;
    2623
     24const
     25  MemoryManagerSizeType: TType = Integer;
     26 
     27type
     28  TMemoryManager = record
     29    function Alloc(Size: Integer): Pointer;
     30    function Free(P: Pointer): Integer;
     31    function Realloc(P: Pointer; Size: Integer): Pointer;
     32  end;
    2733  PMemoryManager = ^TMemoryManager;
    28   TMemoryManager<TSizeType: Ordinal> = record
    29     GetMem: function(Size: TSizeType): Pointer;
    30     FreeMem: function(P: Pointer): TSizeType;
    31     ReallocMem: function(P: Pointer; Size: TSizeType): Pointer;
    32   end;
    33   TSystemMemoryManager = TMemoryManager<MemoryManagerSizeType>;
    3434 
    3535  TSystem = record
Note: See TracChangeset for help on using the changeset viewer.