[cairo-commit] cairo-perl ChangeLog, 1.103, 1.104 MakeHelper.pm, 1.12, 1.13
Torsten Schoenfeld
commit at pdx.freedesktop.org
Sun Oct 5 14:21:19 PDT 2008
- Previous message: [cairo-commit] cairo-perl/t Cairo.t, 1.20, 1.21 CairoFont.t, 1.6, 1.7 CairoFt.t, 1.1, 1.2 CairoMatrix.t, 1.3, 1.4 CairoPath.t, 1.2, 1.3 CairoPattern.t, 1.11, 1.12 CairoSurface.t, 1.31, 1.32
- Next message: [cairo-commit] 4 commits - src/cairo-bentley-ottmann.c src/cairo-compiler-private.h src/cairo-path-stroke.c src/cairo-wideint.c src/cairo-wideint-private.h test/Makefile.am
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: tsch
Update of /cvs/cairo/cairo-perl
In directory kemper:/tmp/cvs-serv11461
Modified Files:
ChangeLog MakeHelper.pm
Log Message:
* MakeHelper.pm: Use the correct enum type instead of int for the
enum converters.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-perl/ChangeLog,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- ChangeLog 5 Oct 2008 19:59:40 -0000 1.103
+++ ChangeLog 5 Oct 2008 21:21:16 -0000 1.104
@@ -1,5 +1,10 @@
2008-10-05 Torsten Schoenfeld <kaffeetisch at gmx.de>
+ * MakeHelper.pm: Use the correct enum type instead of int for the
+ enum converters.
+
+2008-10-05 Torsten Schoenfeld <kaffeetisch at gmx.de>
+
* Cairo.pm:
* Cairo.xs:
* CairoFont.xs:
Index: MakeHelper.pm
===================================================================
RCS file: /cvs/cairo/cairo-perl/MakeHelper.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- MakeHelper.pm 5 Oct 2008 19:59:40 -0000 1.12
+++ MakeHelper.pm 5 Oct 2008 21:21:16 -0000 1.13
@@ -253,8 +253,8 @@
}
print HEADER <<"EOS";
-int cairo_${name}_from_sv (SV * $name);
-SV * cairo_${name}_to_sv (int val);
+$type cairo_${name}_from_sv (SV * $name);
+SV * cairo_${name}_to_sv ($type val);
#define Sv$mangled(sv) (cairo_${name}_from_sv (sv))
#define newSV$mangled(val) (cairo_${name}_to_sv (val))
EOS
@@ -371,7 +371,7 @@
}
print ENUMS <<"EOS";
-int
+$type
cairo_${name}_from_sv (SV * $name)
{
char * str = SvPV_nolen ($name);
@@ -383,7 +383,7 @@
}
SV *
-cairo_${name}_to_sv (int val)
+cairo_${name}_to_sv ($type val)
{
$tree_to
warn ("unknown $type value %d encountered", val);
- Previous message: [cairo-commit] cairo-perl/t Cairo.t, 1.20, 1.21 CairoFont.t, 1.6, 1.7 CairoFt.t, 1.1, 1.2 CairoMatrix.t, 1.3, 1.4 CairoPath.t, 1.2, 1.3 CairoPattern.t, 1.11, 1.12 CairoSurface.t, 1.31, 1.32
- Next message: [cairo-commit] 4 commits - src/cairo-bentley-ottmann.c src/cairo-compiler-private.h src/cairo-path-stroke.c src/cairo-wideint.c src/cairo-wideint-private.h test/Makefile.am
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list