* Dotted filenames for package libfontconfig

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:57:57 +01:00
parent 6df876e546
commit 24bbfe2c45
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,3 @@
unit Api.Libfontconfig;
{$DEFINE FPC_DOTTEDUNITS}
{$i libfontconfig.pp}

View File

@ -0,0 +1,3 @@
src/libfontconfig.pp=namespaced/Api.Libfontconfig.pp
{s*:src/}=namespaced/
{i+:src/}

View File

@ -1,7 +1,9 @@
{$mode objfpc}
{$H+}
{$IFNDEF FPC_DOTTEDUNITS}
unit libfontconfig;
{$ENDIF FPC_DOTTEDUNITS}
{
Automatically converted by H2Pas 1.0.0 from fc.h
The following command line parameters were used:
@ -18,8 +20,13 @@ unit libfontconfig;
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses
ctypes;
{$ENDIF FPC_DOTTEDUNITS}
Const
{$ifndef darwin}
@ -534,8 +541,13 @@ Function FontConfigLibLoaded : Boolean;
implementation
{$IFDEF FPC_DOTTEDUNITS}
uses
System.SysUtils;
{$ELSE FPC_DOTTEDUNITS}
uses
SysUtils;
{$ENDIF FPC_DOTTEDUNITS}
Procedure FcMatrixInit(out m : TFCMatrix);