[cairo-commit] pycairo/cairo pycairo-font.c,1.5,1.6
Steve Chaplin
commit at pdx.freedesktop.org
Wed Jan 26 00:13:37 PST 2005
Committed by: stevech1097
Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv16907/cairo
Modified Files:
pycairo-font.c
Log Message:
SC 2005/01/26
Index: pycairo-font.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-font.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pycairo-font.c 10 Dec 2004 15:16:40 -0000 1.5
+++ pycairo-font.c 26 Jan 2005 08:13:34 -0000 1.6
@@ -66,7 +66,7 @@
PyObject_Del(self);
}
-
+/*
static PyObject *
pycairo_font_set_transform(PyCairoFont *self, PyObject *args)
{
@@ -80,11 +80,6 @@
Py_RETURN_NONE;
}
-static PyMethodDef pycairo_font_methods[] = {
- { "set_transform", (PyCFunction)pycairo_font_set_transform, METH_VARARGS },
- { NULL, NULL, 0 }
-};
-
static PyObject *
pycairo_font_current_transform(PyCairoFont *self)
{
@@ -96,9 +91,14 @@
cairo_font_current_transform(self->font, matrix);
return pycairo_matrix_wrap(matrix);
}
+*/
+static PyMethodDef pycairo_font_methods[] = {
+ /* { "set_transform", (PyCFunction)pycairo_font_set_transform, METH_VARARGS },*/
+ { NULL, NULL, 0 }
+};
static PyGetSetDef pycairo_font_getsets[] = {
- { "transform", (getter)pycairo_font_current_transform, (setter)0 },
+ /* { "transform", (getter)pycairo_font_current_transform, (setter)0 },*/
{ NULL, (getter)0, (setter)0 }
};
@@ -112,8 +112,8 @@
/* methods */
(destructor)pycairo_font_dealloc, /* tp_dealloc */
(printfunc)0, /* tp_print */
- (getattrfunc)0, /* tp_getattr */
- (setattrfunc)0, /* tp_setattr */
+ 0, /* tp_getattr */
+ 0, /* tp_setattr */
(cmpfunc)0, /* tp_compare */
(reprfunc)0, /* tp_repr */
0, /* tp_as_number */
@@ -122,8 +122,8 @@
(hashfunc)0, /* tp_hash */
(ternaryfunc)0, /* tp_call */
(reprfunc)0, /* tp_str */
- (getattrofunc)0, /* tp_getattro */
- (setattrofunc)0, /* tp_setattro */
+ 0, /* tp_getattro */
+ 0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
NULL, /* Documentation string */
More information about the cairo-commit
mailing list