summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-12-13 14:38:32 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-12-13 14:38:32 +0000
commit53134ffa47624120b3ebd96da6316106bdfeeedb (patch)
treee87f062863f40d89ae6ba319307a03e507687658 /perl-install/c/stuff.xs.pl
parentf326d0ea963312cd3be192eedceadd22baa1b23a (diff)
downloaddrakx-53134ffa47624120b3ebd96da6316106bdfeeedb.tar
drakx-53134ffa47624120b3ebd96da6316106bdfeeedb.tar.gz
drakx-53134ffa47624120b3ebd96da6316106bdfeeedb.tar.bz2
drakx-53134ffa47624120b3ebd96da6316106bdfeeedb.tar.xz
drakx-53134ffa47624120b3ebd96da6316106bdfeeedb.zip
iconv_ is needed all the times, not only in drakx
Diffstat (limited to 'perl-install/c/stuff.xs.pl')
-rw-r--r--perl-install/c/stuff.xs.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 99bd4fd5f..6813ef2e3 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -102,6 +102,10 @@ void initIMPS2() {
void log_message(const char * s, ...) {}
+';
+
+print '
+
SV * iconv_(char* s, char* from_charset, char* to_charset) {
iconv_t cd = iconv_open(to_charset, from_charset);
char* retval = s;
@@ -121,10 +125,6 @@ SV * iconv_(char* s, char* from_charset, char* to_charset) {
return newSVpv(retval, 0);
}
-';
-
-print '
-
MODULE = c::stuff PACKAGE = c::stuff
';