diff options
| author | Stephen Leake | 2015-06-09 17:32:30 -0500 |
|---|---|---|
| committer | Stephen Leake | 2015-06-09 17:32:30 -0500 |
| commit | f128e085bc0674967b988a72f8074a7d0cc8eba3 (patch) | |
| tree | 09dbdeccc79ed5801582dc5aa860a4b04cafc5ef /src/emacs.c | |
| parent | 76f2d766ad6691eae6ae4006264f59724cc73a23 (diff) | |
| download | emacs-scratch/dynamic-modules-2.tar.gz emacs-scratch/dynamic-modules-2.zip | |
Add loadable modules using Daniel Colascione's ideas.scratch/dynamic-modules-2
See https://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00960.html
* src/Makefile.in (base_obj): add module.o
(LIBES): add -lltdl
* src/emacs.c (main): add syms_of_module
* src/lisp.h: add syms_of_module
* src/emacs_module.h: New file; emacs API for modules.
* src/module.c: New file; implement API.
* modules/basic/Makefile: New file; build example module on Linux.
* modules/basic/basic.c: New file; simple example module.
Diffstat (limited to 'src/emacs.c')
| -rw-r--r-- | src/emacs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 8396f5d4e45..b9e748b364c 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1432,6 +1432,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem | |||
| 1432 | syms_of_terminal (); | 1432 | syms_of_terminal (); |
| 1433 | syms_of_term (); | 1433 | syms_of_term (); |
| 1434 | syms_of_undo (); | 1434 | syms_of_undo (); |
| 1435 | |||
| 1436 | syms_of_module (); | ||
| 1437 | |||
| 1435 | #ifdef HAVE_SOUND | 1438 | #ifdef HAVE_SOUND |
| 1436 | syms_of_sound (); | 1439 | syms_of_sound (); |
| 1437 | #endif | 1440 | #endif |