System.AnsiStrings.StrDispose

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure StrDispose(Str: PAnsiChar);

C++

extern DELPHI_PACKAGE void __fastcall StrDispose(char * Str)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Libère une chaîne.

StrDispose est fournie pour assurer une compatibilité ascendante. StrDispose restitue une chaîne du tas précédemment allouée à l'aide de StrAlloc ou StrNew.

Si Str est à nil (Delphi) ou NULL (C++), StrDispose ne fait rien.

Voir aussi