Add external modulesold-branches/dynamic-modules-rc2
commitae901ddbfff04e8b1b0d63c452a6ca3f4c81fb17
authorAurélien Aptel <aurelien.aptel@gmail.com>
Tue, 2 Dec 2014 21:17:10 +0000 (2 16:17 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Fri, 5 Dec 2014 00:54:16 +0000 (4 19:54 -0500)
treeb806504944c633be45255321d1203bbcc2504781
parentdd601050e7db69f322eea09d99751d8e6363b153
Add external modules

* configure.ac: Add libtool support and module Makefiles.

* src/Makefile.in: Support libtool.

* src/alloc.c (mark_object): Mark the doc field of Lisp_Subr as object.

* src/doc.c (doc_is_from_module_p, get_doc_string, reread_doc_file)
(store_function_docstring, build_file_p, Fsnarf_documentation):
Support docstrings for external modules.

* src/lisp.h: Make the doc field of Lisp_Subr a Lisp_Object.

* src/lread.c (Fget_load_suffixes, Fload_module, string_suffixes_p)
(string_suffix_p, Fload, intern_c_string_1, defsubr)
(syms_of_lread): Add loading of external modules and the
docstrings of their functions.

* modules/curl: New module.

* modules/elisp: New module.

* modules/fmod: New module.

* modules/opaque: New module.

* modules/yaml: New module.
27 files changed:
ChangeLog
configure.ac
modules/.gitignore [new file with mode: 0644]
modules/ChangeLog [new file with mode: 0644]
modules/curl/Makefile.in [new file with mode: 0644]
modules/curl/curl.c [new file with mode: 0644]
modules/elisp/Makefile.in [new file with mode: 0644]
modules/elisp/elisp.c [new file with mode: 0644]
modules/fmod/Makefile.in [new file with mode: 0644]
modules/fmod/fmod.c [new file with mode: 0644]
modules/opaque/Makefile.in [new file with mode: 0644]
modules/opaque/opaque.c [new file with mode: 0644]
modules/yaml/Makefile.in [new file with mode: 0644]
modules/yaml/tests/alias.yaml [new file with mode: 0644]
modules/yaml/tests/map.yaml [new file with mode: 0644]
modules/yaml/tests/multi.yaml [new file with mode: 0644]
modules/yaml/tests/nest.yaml [new file with mode: 0644]
modules/yaml/tests/scal.yaml [new file with mode: 0644]
modules/yaml/tests/seq.yaml [new file with mode: 0644]
modules/yaml/yaml-test.el [new file with mode: 0644]
modules/yaml/yaml.c [new file with mode: 0644]
src/ChangeLog
src/Makefile.in
src/alloc.c
src/doc.c
src/lisp.h
src/lread.c