* moved TResourceStringRecord from the objpas to the system unit so it can be

used in the compiler when emitting resourcestrings

git-svn-id: trunk@32208 -
This commit is contained in:
Jonas Maebe 2015-10-30 20:45:19 +00:00
parent 4670e0abc9
commit 0c904e92ff
2 changed files with 17 additions and 11 deletions

View File

@ -439,3 +439,20 @@
const
{ for safe as operator support }
IObjectInstance: TGuid = '{D91C9AF4-3C93-420F-A303-BF5BA82BFD23}';
{*****************************************************************************
Resourcestring support
*****************************************************************************}
type
PResourceStringRecord = ^TResourceStringRecord;
TResourceStringRecord = Packed Record
Name,
CurrentValue,
DefaultValue : AnsiString;
HashValue : LongWord;
{$ifdef cpu64}
Dummy : LongWord; // alignment
{$endif cpu64}
end;

View File

@ -313,17 +313,6 @@ begin
end;
Type
PResourceStringRecord = ^TResourceStringRecord;
TResourceStringRecord = Packed Record
Name,
CurrentValue,
DefaultValue : AnsiString;
HashValue : LongWord;
{$ifdef cpu64}
Dummy : LongWord; // alignment
{$endif cpu64}
end;
TResourceStringTableList = Packed Record
Count : sizeint;
Tables : Array[{$ifdef cpu16}Byte{$else cpu16}Word{$endif cpu16}] of record