Просмотр исходного кода

* fpc_shortstr_assign as compilerproc, forgot to commit

git-svn-id: trunk@21701 -
Jonas Maebe 13 лет назад
Родитель
Сommit
b42d204514
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      rtl/inc/compproc.inc
  2. 1 1
      rtl/inc/generic.inc

+ 1 - 0
rtl/inc/compproc.inc

@@ -40,6 +40,7 @@ procedure fpc_zeromem(p:pointer;len:ptruint);compilerproc;
 procedure fpc_fillmem(out data;len:ptruint;b : byte);compilerproc;
 
 procedure fpc_Shortstr_SetLength(var s:shortstring;len:SizeInt); compilerproc;
+procedure fpc_shortstr_assign(len:longint;sstr,dstr:pointer); compilerproc;
 procedure fpc_shortstr_to_shortstr(out res:shortstring; const sstr: shortstring); compilerproc;
 
 procedure fpc_shortstr_concat(var dests:shortstring;const s1,s2:shortstring);compilerproc;

+ 1 - 1
rtl/inc/generic.inc

@@ -892,7 +892,7 @@ begin
   res[0]:=chr(slen);
 end;
 
-procedure fpc_shortstr_assign(len:longint;sstr,dstr:pointer);[public,alias:'FPC_SHORTSTR_ASSIGN'];
+procedure fpc_shortstr_assign(len:longint;sstr,dstr:pointer);[public,alias:'FPC_SHORTSTR_ASSIGN']; compilerproc;
 var
   slen : byte;
 begin