On Friday, 18 January 2013 at 17:02:51 UTC, Jordi Sayol wrote:
Is there a way to use a function from a static D library without importing their D sources nor their DI interface?

Yes you should be able to do it, but not everything can be imported without the source code, for example function templates are not included in the library object file unless you make the effort to wrap them into specific typed versions that will be compiled into the object file.

If you don't have a di file for the library, you can always make one.

See this related thread which is basically the same subject
http://forum.dlang.org/thread/jhmgqvvlyrunleknk...@forum.dlang.org

--rt

Reply via email to