summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-23 18:48:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-23 18:48:32 +0000
commite58875f801fa0703cef9138df2ed456b34462969 (patch)
treea19cb45c9223771542847b0bb6de18c16ac4f5fb /perl-install/c/stuff.xs.pm
parentdb1ceba674784dfd8ffaacbff6446e6a6102b448 (diff)
downloaddrakx-e58875f801fa0703cef9138df2ed456b34462969.tar
drakx-e58875f801fa0703cef9138df2ed456b34462969.tar.gz
drakx-e58875f801fa0703cef9138df2ed456b34462969.tar.bz2
drakx-e58875f801fa0703cef9138df2ed456b34462969.tar.xz
drakx-e58875f801fa0703cef9138df2ed456b34462969.zip
do not use the po's directly. Use mo's through gettext
Diffstat (limited to 'perl-install/c/stuff.xs.pm')
-rw-r--r--perl-install/c/stuff.xs.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index cd250e4a3..235e929c3 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -35,6 +35,7 @@ print '
#include <X11/Xlib.h>
#include <X11/extensions/xf86misc.h>
+#include <libintl.h>
#include <term.h>
#undef max_colors
@@ -149,6 +150,22 @@ setMouseLive(display, type, emulate3buttons)
';
print '
+
+void
+setlocale()
+ CODE:
+ setlocale(LC_ALL, "");
+
+char *
+bindtextdomain(domainname, dirname)
+ char * domainname
+ char * dirname
+
+char *
+dgettext(domainname, msgid)
+ char * domainname
+ char * msgid
+
int
KTYP(x)
int x