* changed {$modeswitch blocks} to {$modeswitch cblocks} to avoid confusion

with the Pascal meaning of the term "block"

git-svn-id: trunk@29594 -
This commit is contained in:
Jonas Maebe 2015-02-01 15:50:06 +00:00
parent 460c4acaee
commit 5d4837329b
6 changed files with 6 additions and 6 deletions

View File

@ -568,7 +568,7 @@ interface
'FINALFIELDS', 'FINALFIELDS',
'UNICODESTRINGS', 'UNICODESTRINGS',
'TYPEHELPERS', 'TYPEHELPERS',
'BLOCKS'); 'CBLOCKS');
type type

View File

@ -1,7 +1,7 @@
{ %target=darwin,iphonesim} { %target=darwin,iphonesim}
{ %skipcpu=powerpc,powerpc64 } { %skipcpu=powerpc,powerpc64 }
{$modeswitch blocks} {$modeswitch cblocks}
type type
tblock = reference to procedure; cdecl; tblock = reference to procedure; cdecl;

View File

@ -2,7 +2,7 @@
{ %skipcpu=powerpc,powerpc64 } { %skipcpu=powerpc,powerpc64 }
{$mode delphi} {$mode delphi}
{$modeswitch blocks} {$modeswitch cblocks}
type type
tblock = reference to procedure; cdecl; tblock = reference to procedure; cdecl;

View File

@ -1,7 +1,7 @@
{ %target=darwin,iphonesim} { %target=darwin,iphonesim}
{ %skipcpu=powerpc,powerpc64 } { %skipcpu=powerpc,powerpc64 }
{$modeswitch blocks} {$modeswitch cblocks}
type type
tblock = reference to function(l: longint): longint; cdecl; tblock = reference to function(l: longint): longint; cdecl;

View File

@ -2,7 +2,7 @@
{ %skipcpu=powerpc,powerpc64 } { %skipcpu=powerpc,powerpc64 }
{$mode objfpc} {$mode objfpc}
{$modeswitch blocks} {$modeswitch cblocks}
type type
tblock = reference to procedure(j: longint); cdecl; tblock = reference to procedure(j: longint); cdecl;

View File

@ -2,7 +2,7 @@
{ %skipcpu=powerpc,powerpc64 } { %skipcpu=powerpc,powerpc64 }
{$mode delphi} {$mode delphi}
{$modeswitch blocks} {$modeswitch cblocks}
type type
tblock = reference to procedure(j: longint); cdecl; tblock = reference to procedure(j: longint); cdecl;