* Dotted filenames for package libnettle

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:02 +01:00
parent 38350a9701
commit 679281a7d3
3 changed files with 17 additions and 0 deletions

View File

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

View File

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

View File

@ -14,13 +14,20 @@
**********************************************************************}
{$mode objfpc}
{$IFNDEF FPC_DOTTEDUNITS}
unit libnettle;
{$ENDIF FPC_DOTTEDUNITS}
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.CTypes, Api.Libgmp;
{$ELSE FPC_DOTTEDUNITS}
uses
ctypes, libgmp;
{$ENDIF FPC_DOTTEDUNITS}
{
Automatically converted by H2Pas 1.0.0 from libnettle.c
@ -1769,7 +1776,11 @@ Var
implementation
{$IFDEF FPC_DOTTEDUNITS}
uses System.SysUtils, System.DynLibs;
{$ELSE FPC_DOTTEDUNITS}
uses sysUtils, dynlibs;
{$ENDIF FPC_DOTTEDUNITS}
var
hlibnettle,hlibhogweed : tlibhandle;