* Dotted filenames for package wasmtime

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:03 +01:00
parent 139fc803b4
commit 08c8e0ec66
3 changed files with 18 additions and 0 deletions

View File

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

View File

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

View File

@ -15,11 +15,18 @@
**********************************************************************}
{$mode objfpc}
{$IFNDEF FPC_DOTTEDUNITS}
unit wasmtime;
{$ENDIF FPC_DOTTEDUNITS}
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses
ctypes;
{$ENDIF FPC_DOTTEDUNITS}
{
Automatically converted by H2Pas 1.0.0 from wt.h
@ -960,8 +967,13 @@ function WasmTimeLoaded : Boolean;
implementation
{$IFDEF FPC_DOTTEDUNITS}
uses
System.SysUtils, System.DynLibs;
{$ELSE FPC_DOTTEDUNITS}
uses
SysUtils, dynlibs;
{$ENDIF FPC_DOTTEDUNITS}
{ Converted static functions }