diff options
author | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2017-05-12 15:52:07 +0000 |
---|---|---|
committer | svenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2017-05-12 15:52:07 +0000 |
commit | 487e571acdf576596b224e374c5919152e1bcf44 (patch) | |
tree | 0e57c7eb126c8e7e5dcc7beb9840c2047c5998af /compiler/cclasses.pas | |
parent | a84201be28fbcaeb0cb73f86bc0f36bf96b11cc9 (diff) | |
download | fpc-487e571acdf576596b224e374c5919152e1bcf44.tar.gz |
+ placeholder function to check whether two tdynamicarray instances have the same contents (needs to be implemented for COMDAT selection with same content to work)
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@36196 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cclasses.pas')
-rw-r--r-- | compiler/cclasses.pas | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/cclasses.pas b/compiler/cclasses.pas index cc3ac9622c..b58b8e6380 100644 --- a/compiler/cclasses.pas +++ b/compiler/cclasses.pas @@ -470,6 +470,7 @@ type procedure writestr(const s:string); {$ifdef CCLASSESINLINE}inline;{$endif} procedure readstream(f:TCStream;maxlen:longword); procedure writestream(f:TCStream); + function equal(other:tdynamicarray):boolean; property CurrBlockSize : longword read FCurrBlocksize; property FirstBlock : PDynamicBlock read FFirstBlock; property Pos : longword read FPosn; @@ -2791,6 +2792,14 @@ end; end; end; + + function tdynamicarray.equal(other:tdynamicarray):boolean; + begin + result:=false; + { TODO } + end; + + {**************************************************************************** thashset ****************************************************************************} |