* Dotted filenames for package libsee

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:05 +01:00
parent 0166d64bb8
commit d201478f85
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,3 @@
unit Api.Libsee;
{$DEFINE FPC_DOTTEDUNITS}
{$i libsee.pas}

View File

@ -0,0 +1,3 @@
src/libsee.pas=namespaced/Api.Libsee.pas
{s*:src/}=namespaced/
{i+:src/}

View File

@ -2,11 +2,18 @@
{$mode objfpc}
{$h+}
{$IFNDEF FPC_DOTTEDUNITS}
unit libsee;
{$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 libsee.c
@ -586,8 +593,13 @@ Function LibseeLoaded : Boolean;
implementation
{$IFDEF FPC_DOTTEDUNITS}
uses
System.SysUtils, System.DynLibs;
{$ELSE FPC_DOTTEDUNITS}
uses
SysUtils, dynlibs;
{$ENDIF FPC_DOTTEDUNITS}
{$ifndef libseehelper}
function new_SEE_interpreter : PSEE_Interpreter;