mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 12:29:25 +01:00
* Dotted filenames for package bzip2
This commit is contained in:
parent
c5c40147e6
commit
c7f406b1f9
3
packages/bzip2/namespaced/System.Bzip2.pas
Normal file
3
packages/bzip2/namespaced/System.Bzip2.pas
Normal file
@ -0,0 +1,3 @@
|
||||
unit System.Bzip2;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i bzip2.pas}
|
||||
3
packages/bzip2/namespaced/System.Bzip2comn.pp
Normal file
3
packages/bzip2/namespaced/System.Bzip2comn.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit System.Bzip2comn;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i bzip2comn.pp}
|
||||
3
packages/bzip2/namespaced/System.Bzip2stream.pp
Normal file
3
packages/bzip2/namespaced/System.Bzip2stream.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit System.Bzip2stream;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i bzip2stream.pp}
|
||||
5
packages/bzip2/namespaces.lst
Normal file
5
packages/bzip2/namespaces.lst
Normal file
@ -0,0 +1,5 @@
|
||||
src/bzip2.pas=namespaced/System.Bzip2.pas
|
||||
{s*:src/}=namespaced/
|
||||
{i+:src/}
|
||||
src/bzip2stream.pp=namespaced/System.Bzip2stream.pp
|
||||
src/bzip2comn.pp=namespaced/System.Bzip2comn.pp
|
||||
@ -1,4 +1,6 @@
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit bzip2;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
{****************************************************************************
|
||||
|
||||
BZIP2 decompression unit
|
||||
@ -26,7 +28,11 @@ interface
|
||||
|
||||
{$goto on}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses System.Objects, System.Bzip2comn;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses objects, bzip2comn;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
Type
|
||||
Tbzip2_decode_stream=object(Tstream)
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit bzip2comn;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
@ -73,4 +75,4 @@ begin
|
||||
base[i]:=((limit[i-1]+1) shl 1)-base[i];
|
||||
end;
|
||||
|
||||
end.
|
||||
end.
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
{$mode objfpc}
|
||||
{$h+}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit bzip2stream;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
{****************************************************************************
|
||||
|
||||
BZIP2 decompression unit
|
||||
@ -30,7 +32,11 @@ interface
|
||||
|
||||
{$goto on}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses System.Classes,System.SysUtils, System.Bzip2comn;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses Classes,SysUtils, bzip2comn;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
Type
|
||||
TDecompressBzip2Stream=Class(TOwnerStream)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user