add shared library template with examples subdirectory

This commit is contained in:
eddyem
2018-12-05 00:35:41 +03:00
parent bbc36d950d
commit bade2a36c0
10 changed files with 232 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
#include <locale.h>
#include <libintl.h>
#include <usefull_macros.h>
int main(){
setlocale(LC_ALL, "");
setlocale(LC_NUMERIC, "C");
#if defined GETTEXT_PACKAGE && defined LOCALEDIR
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
textdomain(GETTEXT_PACKAGE);
#endif
helloworld();
return 0;
}