mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 02:49:21 +02:00
* fixed ansistring and unicodestring llvm defs (pointer indirection was
missing, and replaced by plain pointer because the array definition does not add any useful information) git-svn-id: branches/hlcgllvm@27012 -
This commit is contained in:
parent
f36848c243
commit
bdc2aaec47
@ -154,9 +154,9 @@ implementation
|
|||||||
st_unicodestring:
|
st_unicodestring:
|
||||||
{ the variable does not point to the header, but to a
|
{ the variable does not point to the header, but to a
|
||||||
null-terminated string/array with undefined bounds }
|
null-terminated string/array with undefined bounds }
|
||||||
encodedstr:=encodedstr+'[0 x i16]';
|
encodedstr:=encodedstr+'i16*';
|
||||||
st_ansistring:
|
st_ansistring:
|
||||||
encodedstr:=encodedstr+'[0 x i8]';
|
encodedstr:=encodedstr+'i8*';
|
||||||
st_shortstring:
|
st_shortstring:
|
||||||
{ length byte followed by string bytes }
|
{ length byte followed by string bytes }
|
||||||
if tstringdef(def).len>0 then
|
if tstringdef(def).len>0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user