[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loadable module support
From: |
Eli Zaretskii |
Subject: |
Re: Loadable module support |
Date: |
Sun, 15 Jan 2012 21:12:06 +0200 |
> From: Paul Smith <address@hidden>
> Date: Sat, 14 Jan 2012 23:22:32 -0500
>
> This design is informed by the way POSIX systems work (dlopen(),
> dlsym()). I wonder how this would work, or not work, with alternative
> dynamic loaders such as Windows (I assume MacOS uses POSIX semantics as
> well)?
Windows has an API similar to `dlopen', called LoadLibrary, and an API
similar to `dlsym', called GetProcAddress. So it should be easy to
have an abstract interface that will have different implementations in
the Posix and Windows ports.
Btw, are you going to use libffi for this facility?