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,17 @@
#include <stdio.h>
#if defined GETTEXT
#include <libintl.h>
#define _(String) gettext(String)
#define gettext_noop(String) String
#define N_(String) gettext_noop(String)
#else
#define _(String) (String)
#define N_(String) (String)
#endif
void helloworld(){
/// ûÁÌÏÍ, ÍÉÒ!!!\n
printf(_("Hello, World!!!\n"));
}