『求助』如何在delphi中使用realloc,memchr之类的函数?急!(100分)

  • 主题发起人 you_known
  • 开始时间
Y

you_known

Unregistered / Unconfirmed
GUEST, unregistred user!
如何在delphi中使用realloc,memchr之类的函数?
memset,memcpy几个都有改写的方法,
procedure _memset(P: Pointer
B: Byte
count: Integer);cdecl;
begin
FillChar(P^, count, B);
end;
procedure _memcpy(dest, source: Pointer
count: Integer);cdecl;
begin
Move(source^, dest^, count);
end;
现在急需替代realloc,memchr的delphi函数。
 

Similar threads

S
回复
0
查看
956
SUNSTONE的Delphi笔记
S
S
回复
0
查看
779
SUNSTONE的Delphi笔记
S
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
顶部