mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:39:36 +02:00
+ added overload directive as requested by Paul
git-svn-id: trunk@10949 -
This commit is contained in:
parent
e086e15cde
commit
88cfaf0a41
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -7317,6 +7317,7 @@ tests/test/opt/treg3.pp svneol=native#text/plain
|
|||||||
tests/test/opt/treg4.pp svneol=native#text/plain
|
tests/test/opt/treg4.pp svneol=native#text/plain
|
||||||
tests/test/opt/tretopt.pp svneol=native#text/plain
|
tests/test/opt/tretopt.pp svneol=native#text/plain
|
||||||
tests/test/opt/tspace.pp svneol=native#text/plain
|
tests/test/opt/tspace.pp svneol=native#text/plain
|
||||||
|
tests/test/packages/fcl-registry/tregistry1.pp svneol=native#text/plain
|
||||||
tests/test/packages/hash/tmdtest.pp svneol=native#text/plain
|
tests/test/packages/hash/tmdtest.pp svneol=native#text/plain
|
||||||
tests/test/packages/webtbs/tw1808.pp svneol=native#text/plain
|
tests/test/packages/webtbs/tw1808.pp svneol=native#text/plain
|
||||||
tests/test/packages/webtbs/tw3820.pp svneol=native#text/plain
|
tests/test/packages/webtbs/tw3820.pp svneol=native#text/plain
|
||||||
|
@ -69,7 +69,7 @@ type
|
|||||||
procedure SetCurrentKey(Value: HKEY);
|
procedure SetCurrentKey(Value: HKEY);
|
||||||
public
|
public
|
||||||
constructor Create; overload;
|
constructor Create; overload;
|
||||||
constructor Create(aaccess:longword);
|
constructor Create(aaccess:longword); overload;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
|
|
||||||
function CreateKey(const Key: string): Boolean;
|
function CreateKey(const Key: string): Boolean;
|
||||||
@ -133,7 +133,7 @@ type
|
|||||||
fFileName: String;
|
fFileName: String;
|
||||||
fPath : String;
|
fPath : String;
|
||||||
public
|
public
|
||||||
constructor Create(const FN: string);
|
constructor Create(const FN: string); overload;
|
||||||
constructor Create(const FN: string;aaccess:longword); overload;
|
constructor Create(const FN: string;aaccess:longword); overload;
|
||||||
function ReadString(const Section, Ident, Default: string): string;
|
function ReadString(const Section, Ident, Default: string): string;
|
||||||
function ReadInteger(const Section, Ident: string;
|
function ReadInteger(const Section, Ident: string;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/04/18]
|
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/05/12]
|
||||||
#
|
#
|
||||||
default: allexectests
|
default: allexectests
|
||||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded
|
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded
|
||||||
@ -1430,7 +1430,7 @@ ifndef LOG
|
|||||||
export LOG:=$(TEST_OUTPUTDIR)/log
|
export LOG:=$(TEST_OUTPUTDIR)/log
|
||||||
endif
|
endif
|
||||||
TESTSUBDIRS=cg cg/variants cg/cdecl opt units/system units/dos units/crt units/objects units/strings units/sysutils units/math units/sharemem
|
TESTSUBDIRS=cg cg/variants cg/cdecl opt units/system units/dos units/crt units/objects units/strings units/sysutils units/math units/sharemem
|
||||||
TESTPACKAGESUBDIRS=cg packages/win-base packages/webtbs packages/hash
|
TESTPACKAGESUBDIRS=cg packages/win-base packages/webtbs packages/hash packages/fcl-registry
|
||||||
ifdef QUICKTEST
|
ifdef QUICKTEST
|
||||||
export QUICKTEST
|
export QUICKTEST
|
||||||
else
|
else
|
||||||
|
@ -123,7 +123,7 @@ endif
|
|||||||
|
|
||||||
# Subdirs available in the test subdir
|
# Subdirs available in the test subdir
|
||||||
TESTSUBDIRS=cg cg/variants cg/cdecl opt units/system units/dos units/crt units/objects units/strings units/sysutils units/math units/sharemem
|
TESTSUBDIRS=cg cg/variants cg/cdecl opt units/system units/dos units/crt units/objects units/strings units/sysutils units/math units/sharemem
|
||||||
TESTPACKAGESUBDIRS=cg packages/win-base packages/webtbs packages/hash
|
TESTPACKAGESUBDIRS=cg packages/win-base packages/webtbs packages/hash packages/fcl-registry
|
||||||
|
|
||||||
ifdef QUICKTEST
|
ifdef QUICKTEST
|
||||||
export QUICKTEST
|
export QUICKTEST
|
||||||
|
8
tests/test/packages/fcl-registry/tregistry1.pp
Normal file
8
tests/test/packages/fcl-registry/tregistry1.pp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
uses
|
||||||
|
registry;
|
||||||
|
var
|
||||||
|
fReg: TRegIniFile;
|
||||||
|
begin
|
||||||
|
fReg := TRegIniFile.Create;
|
||||||
|
fReg.Free;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user