[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FFI in Emacs

From: John Wiegley
Subject: Re: FFI in Emacs
Date: Wed, 11 Jul 2012 00:24:27 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin)

>>>>> Stefan Monnier <address@hidden> writes:

>>> So if we update Dave's patch, it can be committed toward 24.2?
>>> http://www.loveshack.ukfsn.org/emacs/dynamic-loading/

> Possibly, yes.  I haven't looked at the code, so I can't whether I'd like it
> or not, and we'd want someone willing to maintain it.

I took a look at Dave's code, and it's not so much an FFI patch as a "writing
Emacs Lisp functions in C" patch.

A real FFI patch would let me dlopen any C library and call functions within
it, such as openssl or zlib.  Dave's patch is more like what Python allows:
writing Emacs Lisp extensions in C that can be loaded as shared libraries.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]