mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
* Dotted filenames for package sndfile
This commit is contained in:
parent
3718b52ce0
commit
8058aaad9c
3
packages/sndfile/namespaced/Api.Sndfile.pp
Normal file
3
packages/sndfile/namespaced/Api.Sndfile.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Sndfile;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i sndfile.pp}
|
3
packages/sndfile/namespaces.lst
Normal file
3
packages/sndfile/namespaces.lst
Normal file
@ -0,0 +1,3 @@
|
||||
src/sndfile.pp=namespaced/Api.Sndfile.pp
|
||||
{s*:src/}=namespaced/
|
||||
{i+:src/}
|
@ -34,12 +34,19 @@
|
||||
** types.
|
||||
}
|
||||
{$PACKRECORDS C}{$MACRO ON}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit sndfile;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
System.CTypes, UnixApi.Types;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
ctypes, unixtype;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
sndfilelib = 'sndfile';
|
||||
|
Loading…
Reference in New Issue
Block a user