lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


We usually put some information strings into our modules, e.g.

	lua_pushliteral(L, "_COPYRIGHT");
	lua_pushliteral(L, "Copyright (C) 2014 micro systems marc balmer");
	lua_settable(L, -3);
	lua_pushliteral(L, "_DESCRIPTION");
	lua_pushliteral(L, "EAN support functions");
	lua_settable(L, -3);
	lua_pushliteral(L, "_VERSION");
	lua_pushliteral(L, "ean 1.0.1");
	lua_settable(L, -3);

How do other module-writer handle such?  Do you put such information into modules?  Do you think it makes sense?  Is it of any use at all?  Is it common practice? (yes, I am considering removing it...)