aboutsummaryrefslogtreecommitdiff
path: root/dlfcn.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move cmake targets into sub directoriesRalf Habacker2020-09-141-78/+0
|
* Relicense to MITRamiro Polla2020-08-301-11/+15
| | | | | | The licensing note in the configure script has been reworked, similarly to how libvpx did it (they were also based on FFmpeg's configure script and also use a more permissive license).
* Update documentation in dlfcn.h, specially for RTLD_LAZYPali Rohár2019-08-291-7/+22
|
* Implement support for dlsym() with RTLD_DEFAULT and RTLD_NEXTPali Rohár2019-02-141-2/+2
| | | | | | | | | | | | | | | | | | | dlsym() with RTLD_DEFAULT handle behaves in same way like with global handle returned by dlopen() with NULL file name. dlsym() with RTLD_NEXT handle search for next loaded module which provides specified symbol. "Next" means module which in EnumProcessModules() result after the module which called dlsym(). To get caller function of dlsym() use _ReturnAddress() intrinsic. To get module where is caller function use the fact that HMODULE is the same value as the module's base address. When compiling under gcc, defines _ReturnAddress() macro via gcc's builtin as it does not provide MSC's specific _ReturnAddress() intrinsic. Added tests demonstrate that both RTLD_DEFAULT and RTLD_NEXT are working as expected.
* Do not use dllimport in any caseTimothy Gu2015-03-111-2/+2
|
* Add import/export symbols for MSVC.Dennis Nienhüser2015-03-111-4/+10
| | | | | | | | | | This results in an import .lib file. Closes #4. Some fixes by Timothy Gu <timothygu99@gmail.com> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
* License stuffTimothy Gu2014-02-101-3/+3
|
* Add C++ extern "C"Timothy Gu2014-01-201-0/+8
| | | | See Issue 8 and Issue 12.
* Initial RevisionRamiro Polla2007-06-281-0/+45