mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 14:47:55 +02:00
+ add {$packrecords c} to all units importing Objective-C records since
that's the alignment used by the system headers git-svn-id: trunk@18115 -
This commit is contained in:
parent
86b088f398
commit
e0e326be8e
@ -3,6 +3,7 @@ unit CocoaAll;
|
||||
{$mode delphi}
|
||||
{$modeswitch objectivec1}
|
||||
{$modeswitch cvar} { for "external" after the semi-colon with external vars }
|
||||
{$packrecords c}
|
||||
|
||||
interface
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{$mode delphi}
|
||||
{$modeswitch cvar}
|
||||
{$modeswitch objectivec1}
|
||||
{$packrecords c}
|
||||
unit CoreData;
|
||||
interface
|
||||
uses
|
||||
|
@ -3,6 +3,7 @@ unit WebKit;
|
||||
{$mode delphi}
|
||||
{$modeswitch cvar}
|
||||
{$modeswitch objectivec1}
|
||||
{$packrecords c}
|
||||
|
||||
interface
|
||||
|
||||
@ -66,4 +67,4 @@ implementation
|
||||
{$undef USER_PATCHES}
|
||||
|
||||
{$undef IMPLEMENTATION}
|
||||
end.
|
||||
end.
|
||||
|
@ -3,6 +3,7 @@ unit iPhoneAll;
|
||||
{$mode delphi}
|
||||
{$modeswitch objectivec1}
|
||||
{$modeswitch cvar}
|
||||
{$packrecords c}
|
||||
|
||||
interface
|
||||
|
||||
@ -105,4 +106,4 @@ implementation
|
||||
{$undef USER_PATCHES}
|
||||
|
||||
{$undef IMPLEMENTATION}
|
||||
end.
|
||||
end.
|
||||
|
@ -18,6 +18,7 @@ unit objcbase;
|
||||
{$ifdef FPC_HAS_FEATURE_OBJECTIVEC1}
|
||||
|
||||
{$modeswitch objectivec1}
|
||||
{$packrecords c}
|
||||
|
||||
interface
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user