* Dotted filenames for package zorba

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:57:58 +01:00
parent f126fbe2cf
commit 6183327b18
8 changed files with 31 additions and 0 deletions

View File

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

View File

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

View File

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

View File

@ -0,0 +1,5 @@
src/zorba.pas=namespaced/Api.Zorba.pas
{s*:src/}=namespaced/
{i+:src/}
src/zorbadyn.pas=namespaced/Api.ZorbaDyn.pas
src/xqc.pas=namespaced/Api.Xqc.pas

View File

@ -19,7 +19,9 @@
Copyright(C) 2009 by Ivo Steinmann
}
{$IFNDEF FPC_DOTTEDUNITS}
unit xqc;
{$ENDIF FPC_DOTTEDUNITS}
{$mode objfpc}{$H+}
{$PACKRECORDS C}
@ -27,9 +29,15 @@ unit xqc;
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.Classes,
System.CTypes;
{$ELSE FPC_DOTTEDUNITS}
uses
Classes,
ctypes;
{$ENDIF FPC_DOTTEDUNITS}
{$IFDEF UNIX}
{$DEFINE extdecl:=cdecl}

View File

@ -20,8 +20,13 @@
interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.SysUtils,System.CTypes, System.DynLibs, Api.Xqc;
{$ELSE FPC_DOTTEDUNITS}
uses
Sysutils,ctypes, dynlibs, xqc;
{$ENDIF FPC_DOTTEDUNITS}
{$IFDEF UNIX}
{$DEFINE extdecl:=cdecl}

View File

@ -1,4 +1,6 @@
{$IFNDEF FPC_DOTTEDUNITS}
unit zorba;
{$ENDIF FPC_DOTTEDUNITS}
{$i zorba.inc}

View File

@ -1,4 +1,6 @@
{$IFNDEF FPC_DOTTEDUNITS}
unit zorbadyn;
{$ENDIF FPC_DOTTEDUNITS}
{$DEFINE LOAD_DYNAMICALLY}
{$i zorba.inc}