fpc/rtl/unix/dl.pp
michael 0882b637a4 * Patch from Ing. Petr Kristan
- Add dlerror() to dl unit
  - Add CurValue to TField in db.pp
  - Add TCurrencyfield to db.pp
  - Add TDataset.IslinkedTo to db.pp
  - Add ShellExecuteEx call to shellapi

git-svn-id: trunk@167 -
2005-06-01 16:16:35 +00:00

28 lines
604 B
ObjectPascal

Unit dl;
Interface
Const
{$ifdef BSD} // dlopen is in libc on FreeBSD.
LibDL = 'c';
{$else}
LibDL = 'dl';
{$endif}
RTLD_LAZY = $001;
RTLD_NOW = $002;
RTLD_BINDING_MASK = $003;
RTLD_GLOBAL = $100;
{$ifdef BSD}
RTLD_MODEMASK = RTLD_BINDING_MASK;
{$endif}
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;
implementation
end.