summaryrefslogtreecommitdiff
path: root/modules/modhelp.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Fix template for module functionsPaul Eggert2016-11-281-1/+1
|/ | | | | | Reported by Syohei YOSHIDA (Bug#24932). * modules/modhelp.py (TEMPLATES): c_func’s 2nd arg is ptrdiff_t, not int.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Spelling and grammar fixesPaul Eggert2015-11-291-1/+1
|
* Rename module.c to emacs-module.c, etc.Paul Eggert2015-11-191-1/+1
| | | | | | * src/emacs-module.c: Rename from src/module.c. * src/emacs-module.h: Rename from src/module.h. All uses changed.
* Style fixes for indenting etc. in module codePaul Eggert2015-11-191-11/+20
| | | | | | | This is mostly indenting and spacing changes. Also, remove some unnecessary static decls instead of bothering to reindent them. * src/module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline, as most other Emacs files do for this sort of thing.
* Add copyright notices to module codePaul Eggert2015-11-191-0/+20
| | | | Put them in the usual format for GNU Emacs copyright notices.
* Rename emacs_module.h to module.hPaul Eggert2015-11-191-1/+1
| | | | | * src/module.h: Rename from src/emacs_module.h. All uses changed.
* Add dynamic module test and helper scriptAurélien Aptel2015-11-181-0/+178
Add 'modhelp.py' script (python2) to automate module testing and module generation. To build and test all modules in the modules/ dir $ ./modhelp.py test To generate a module from template code (good starting point) $ ./modhelp init mynewtestmodule See the script -h option for more documentation. * modules/modhelp.py: New module helper script. * modules/mod-test/Makefile: New file. Makefile for the test module. * modules/mod-test/mod-test.c: New file. Test module source file. * modules/mod-test/test.el: New file. ert test suite for the test module. * modules/.gitignore: New file. Local .gitignore file. Co-authored-by: Philipp Stephani <phst@google.com>