Leser: 1
6 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
--- Cdk.xs 2003-10-29 17:27:16.000000000 +0100
+++ Cdk.xs.new 2003-10-29 17:13:34.000000000 +0100
@@ -26,7 +26,7 @@
for (y=0; y <= subLen; y++) \
{ \
SV *sv = *av_fetch(subArray,y,FALSE); \
- (NEWARRAY)[x+(START)][y+(START)] = copyChar((char *)SvPV(sv,na)); \
+ (NEWARRAY)[x+(START)][y+(START)] = copyChar((char *)SvPV(sv,PL_na)); \
} \
} \
(ARRAYLEN)++; \
@@ -87,7 +87,7 @@
for (x=0; x <= (LEN); x++) \
{ \
SV *foo = *av_fetch(src, x, FALSE); \
- (DEST)[x+(START)] = copyChar((char *)SvPV(foo,na)); \
+ (DEST)[x+(START)] = copyChar((char *)SvPV(foo,PL_na)); \
} \
(LEN)++; \
} while (0)
@@ -107,11 +107,11 @@
SV *foo = *av_fetch(src, x, FALSE); \
if (lines == 0) \
{ \
- sprintf ((DEST), "%s", (char *)SvPV(foo,na)); \
+ sprintf ((DEST), "%s", (char *)SvPV(foo,PL_na)); \
} \
else \
{ \
- sprintf ((DEST), "%s\n%s", (DEST), (char *)SvPV(foo,na)); \
+ sprintf ((DEST), "%s\n%s", (DEST), (char *)SvPV(foo,PL_na)); \
} \
lines++; \
} \
@@ -123,7 +123,7 @@
} \
else \
{ \
- sprintf ((DEST), "%s", (char *)SvPV(INPUT,na)); \
+ sprintf ((DEST), "%s", (char *)SvPV(INPUT,PL_na)); \
} \
} while (0)
@@ -299,7 +299,7 @@
{
if (SvPOK(sv))
{
- char *name = SvPV(sv,na);
+ char *name = SvPV(sv,PL_na);
chtype *fillerChtype;
chtype filler;
int j1, j2;
@@ -608,7 +608,7 @@
{
if (SvPOK(sv))
{
- char *name = SvPV(sv,na);
+ char *name = SvPV(sv,PL_na);
if (strEQ (name, "vENTRY"))
return vENTRY;
if (strEQ (name, "vMENTRY"))
@@ -646,7 +646,7 @@
{
if (SvPOK(sv))
{
- char *name = SvPV(sv,na);
+ char *name = SvPV(sv,PL_na);
if (strEQ (name, "CHAR"))
return vCHAR;
if (strEQ (name, "HCHAR"))
@@ -697,7 +697,7 @@
{
if (SvPOK(sv))
{
- char *name = SvPV(sv,na);
+ char *name = SvPV(sv,PL_na);
if (strEQ(name, "BOTTOM"))
return BOTTOM;
if (strEQ(name, "CENTER"))
@@ -736,7 +736,7 @@
sv2CharPtr(inp)
SV *inp;
{
- char *name = (char *)SvPV(inp,na);
+ char *name = (char *)SvPV(inp,PL_na);
return (name);
}
@@ -6424,7 +6424,7 @@
CDKALPHALIST * object
PPCODE:
{
- SV *sv = (SV *)&sv_undef;
+ SV *sv = (SV *)&PL_sv_undef;
chtype Keys[300];
int arrayLen;
char *value;
Quotemy $box = Cdk::checkDef ($name, "Fox", $params{'Box'}, "TRUE");
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
joerg@linux:~/downloads/Cdk> make
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Cdk.xs > Cdk.xsc && mv Cdk.xsc Cdk.c
cc -c -I/usr/include/ncurses -I/usr/local/include/cdk -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 --pipe -DVERSION=\"4.9.11\" -DXS_VERSION=\"4.9.11\" -fPIC "-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE" -DHAVE_USLEEP -DHAVE_NCURSES -DHAVE_COLOR -DCDK_PERL_EXT Cdk.c
Cdk.xs: In function `XS_CdkScroll_New':
Cdk.xs:1454: `na' undeclared (first use in this function)
Cdk.xs:1454: (Each undeclared identifier is reported only once
Cdk.xs:1454: for each function it appears in.)
Cdk.xs: In function `XS_CdkScale_New':
Cdk.xs:1775: `na' undeclared (first use in this function)
Cdk.xs: In function `XS_CdkHistogram_New':
Cdk.xs:2055: `na' undeclared (first use in this function)
Cdk.xs: In function `XS_CdkEntry_New':
Cdk.xs:2495: `na' undeclared (first use in this function)
Cdk.xs: In function `XS_CdkMentry_New':
Cdk.xs:2824: `na' undeclared (first use in this function)
Cdk.xs: In function `XS_CdkMatrix_New':
Cdk.xs:3157: `na' undeclared (first use in this function)
Cdk.xs: In function `XS_CdkMarquee_Bind':
Cdk.xs:3635: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkSelection_Bind':
Cdk.xs:3800: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkGraph_New':
Cdk.xs:4293: `na' undeclared (first use in this function)
Cdk.xs: In function `XS_CdkRadio_Bind':
Cdk.xs:4593: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkTemplate_Bind':
Cdk.xs:4890: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkSwindow_Bind':
Cdk.xs:5182: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkItemlist_Bind':
Cdk.xs:5546: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkFselect_Bind':
Cdk.xs:6001: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkSlider_Bind':
Cdk.xs:6288: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkAlphalist_Bind':
Cdk.xs:6599: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkCalendar_Bind':
Cdk.xs:6836: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
Cdk.xs: In function `XS_CdkButtonbox_Bind':
Cdk.xs:7039: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type
make: *** [Cdk.o] Fehler 1
6 Einträge, 1 Seite |