mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
* Cleaned up keyword-case style ("FUnction" => "function", etc)
git-svn-id: trunk@5707 -
This commit is contained in:
parent
d50a9a37f3
commit
b8e514c466
@ -1,8 +1,8 @@
|
||||
Unit dl;
|
||||
unit dl;
|
||||
|
||||
Interface
|
||||
interface
|
||||
|
||||
Const
|
||||
const
|
||||
{$ifdef BSD} // dlopen is in libc on FreeBSD.
|
||||
LibDL = 'c';
|
||||
{$else}
|
||||
@ -32,13 +32,13 @@ type
|
||||
dli_saddr : pointer;
|
||||
end;
|
||||
|
||||
Function dlopen(Name : PChar; Flags : longint) : Pointer; cdecl; external libdl;
|
||||
FUnction dlsym(Lib : Pointer; Name : Pchar) : Pointer; cdecl; external Libdl;
|
||||
Function dlclose(Lib : Pointer) : Longint; cdecl; external libdl;
|
||||
Function dlerror() : Pchar; cdecl; external libdl;
|
||||
function dlopen(Name : PChar; Flags : longint) : Pointer; cdecl; external libdl;
|
||||
function dlsym(Lib : Pointer; Name : Pchar) : Pointer; cdecl; external Libdl;
|
||||
function dlclose(Lib : Pointer) : Longint; cdecl; external libdl;
|
||||
function dlerror() : Pchar; cdecl; external libdl;
|
||||
{ overloaded for compatibility with hmodule }
|
||||
FUnction dlsym(Lib : PtrInt; Name : Pchar) : Pointer; cdecl; external Libdl;
|
||||
Function dlclose(Lib : PtrInt) : Longint; cdecl; external libdl;
|
||||
function dlsym(Lib : PtrInt; Name : Pchar) : Pointer; cdecl; external Libdl;
|
||||
function dlclose(Lib : PtrInt) : Longint; cdecl; external libdl;
|
||||
function dladdr(Lib: pointer; info: Pdl_info): Longint; cdecl; external; platform;
|
||||
|
||||
implementation
|
||||
|
Loading…
Reference in New Issue
Block a user