Questions tagged [modules]

Emacs modules are dynamically-loaded libraries written in C. (They were introduced in Emacs 25.1.)

Filter by
Sorted by
Tagged with
2
votes
1answer
189 views

How best to export functions in dynamic modules

Background I am running Emacs version GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2017-05-28 I am writing a toy dynamic module to interface with GNU/Linux ...
2
votes
0answers
71 views

Distributing emacs packages with module functionality

How to distribute an emacs package via Elpa that includes OSX and Linux module written in C that needs to be compiled locally?
0
votes
1answer
359 views

How can I define the syntax of a C-defined function with with module_make_function?

I've tried #define DEFUN(lsym, csym, amin, amax, doc, data) \ bind_function (env, lsym, env->make_function(env, amin, amax, csym, doc, data)) DEFUN("libgit2-core-status", Flibgit2_status, 1, 1, ...