eina: module - Add macros for adding module informations
authorAmitesh Singh <amitesh.sh@samsung.com>
Wed, 31 Aug 2016 10:47:52 +0000 (16:17 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Wed, 31 Aug 2016 10:47:53 +0000 (16:17 +0530)
commitd88f08f7e92a06ce114466da41886463be58c8d8
treedb1e25816e0eab568561aa0cf78e981560729c52
parentf88a4b8308a45889960eb842ff0300ce9079d755
eina: module - Add macros for adding module informations

Summary:
These macros allow you to define module informations like
author/description/version/license

e.g.
// Use "Name <email id>" or just "Name"
EINA_MODULE_AUTHOR("Enlightenment Community");
// Mention license
EINA_MODULE_LICENSE("GPL v2");
// What your module does
EINA_MODULE_DESCRIPTION("This is what this module does");
// Module version
EINA_MODULE_VERSION("0.1");

Now eina_modinfo can show these informations to users

$ eina_modinfo module.so
 version: 0.1
 description:   Entry test
 license: GPLv2
 author:  Enlightenment Community

@feature

Reviewers: cedric, tasn, raster, jpeg

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D4257
src/Makefile_Eina.am
src/bin/eina/.gitignore
src/bin/eina/eina_modinfo.c [new file with mode: 0644]
src/lib/eina/eina_inline_modinfo.x [new file with mode: 0644]
src/lib/eina/eina_module.h
src/modules/elementary/test_entry/mod.c