mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* ReleaseFreetype does not return anything, make it a procedure
git-svn-id: trunk@43292 -
This commit is contained in:
parent
6cfe456a78
commit
763b3a96ab
@ -427,7 +427,7 @@ Var
|
||||
function InitializeFreetype(const LibraryName: UnicodeString = ''): Integer;
|
||||
function InitializeFreetype(const LibraryName: AnsiString):integer;
|
||||
function TryInitializeFreetype(const LibraryName: Unicodestring = ''): Integer;
|
||||
function ReleaseFreetype: Integer;
|
||||
procedure ReleaseFreetype;
|
||||
{$ENDIF}
|
||||
|
||||
implementation
|
||||
@ -536,7 +536,7 @@ begin
|
||||
result:=InitializeFreetype(UnicodeString(LibraryName));
|
||||
end;
|
||||
|
||||
function ReleaseFreetype:integer;
|
||||
procedure ReleaseFreetype;
|
||||
begin
|
||||
if InterlockedDecrement(RefCount) <= 0 then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user