~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/compiler/crefs.pas

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    Copyright (c) 2007 by Pierre Muller
 
3
 
 
4
    Common reference types
 
5
 
 
6
    This program is free software; you can redistribute it and/or modify
 
7
    it under the terms of the GNU General Public License as published by
 
8
    the Free Software Foundation; either version 2 of the License, or
 
9
    (at your option) any later version.
 
10
 
 
11
    This program is distributed in the hope that it will be useful,
 
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
    GNU General Public License for more details.
 
15
 
 
16
    You should have received a copy of the GNU General Public License
 
17
    along with this program; if not, write to the Free Software
 
18
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
19
 ****************************************************************************
 
20
}
 
21
 
 
22
unit crefs;
 
23
 
 
24
{$i fpcdefs.inc}
 
25
 
 
26
interface
 
27
 
 
28
uses
 
29
  globals,
 
30
  cclasses;
 
31
 
 
32
  type
 
33
 
 
34
   TrefItem = class (TLinkedListItem)
 
35
     refinfo  : tfileposinfo;
 
36
     constructor create(const ARefInfo : tfileposinfo);
 
37
     Function GetCopy:TLinkedListItem;virtual;
 
38
   end;
 
39
 
 
40
   TRefLinkedList = class(TLinkedList)
 
41
     procedure WriteToPPU;
 
42
   end;
 
43
 
 
44
implementation
 
45
 
 
46
constructor TRefItem.Create(const ARefInfo : tfileposinfo);
 
47
begin
 
48
  Inherited Create;
 
49
  RefInfo:=ARefInfo;
 
50
end;
 
51
 
 
52
Function TRefItem.GetCopy : TLinkedListItem;
 
53
var
 
54
  NR : TRefItem;
 
55
begin
 
56
  NR.Create(RefInfo);
 
57
  GetCopy:=NR;
 
58
end;
 
59
 
 
60
procedure TRefLinkedList.WriteToPPU;
 
61
begin
 
62
end;
 
63
 
 
64
begin
 
65
end.