[cairo-commit] pycairo/cairo pycairo-surface.c,1.93,1.94

Steve Chaplin commit at pdx.freedesktop.org
Wed Dec 31 22:12:41 PST 2008


Committed by: stevech1097

Update of /cvs/cairo/pycairo/cairo
In directory kemper:/tmp/cvs-serv2271/cairo

Modified Files:
	pycairo-surface.c 
Log Message:
'SC'

Index: pycairo-surface.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-surface.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- pycairo-surface.c	10 Dec 2008 08:18:58 -0000	1.93
+++ pycairo-surface.c	1 Jan 2009 06:12:39 -0000	1.94
@@ -310,10 +310,10 @@
 	    return NULL;
 	}
 	Py_DECREF(writer);
-	Py_BEGIN_ALLOW_THREADS
+	/*Py_BEGIN_ALLOW_THREADS*/ /*seg faults reported*/
 	status = cairo_surface_write_to_png_stream (o->surface, _write_func,
 						    file);
-	Py_END_ALLOW_THREADS
+	/*Py_END_ALLOW_THREADS*/
     }
     RETURN_NULL_IF_CAIRO_ERROR(status);
     Py_RETURN_NONE;
@@ -505,9 +505,9 @@
     }
     Py_DECREF(reader);
 
-    Py_BEGIN_ALLOW_THREADS
+    /*Py_BEGIN_ALLOW_THREADS*/ /*seg faults reported*/
     is = cairo_image_surface_create_from_png_stream (_read_func, file);
-    Py_END_ALLOW_THREADS
+    /*Py_END_ALLOW_THREADS*/
     return PycairoSurface_FromSurface (is, NULL);
 }
 #endif /* CAIRO_HAS_PNG_FUNCTIONS */
@@ -712,10 +712,10 @@
     }
     Py_DECREF(writer);
 
-    Py_BEGIN_ALLOW_THREADS
+    /*Py_BEGIN_ALLOW_THREADS*/ /*seg faults reported*/
     sfc = cairo_pdf_surface_create_for_stream (_write_func, file,
 					       width_in_points, height_in_points);
-    Py_END_ALLOW_THREADS
+    /*Py_END_ALLOW_THREADS*/
     return PycairoSurface_FromSurface (sfc, file);
 }
 
@@ -818,10 +818,10 @@
     }
     Py_DECREF(writer);
 
-    Py_BEGIN_ALLOW_THREADS
+    /*Py_BEGIN_ALLOW_THREADS*/ /*seg faults reported*/
     sfc = cairo_ps_surface_create_for_stream (_write_func, file,
 					width_in_points, height_in_points);
-    Py_END_ALLOW_THREADS
+    /*Py_END_ALLOW_THREADS*/
     return PycairoSurface_FromSurface (sfc, file);
 }
 
@@ -1010,10 +1010,10 @@
     }
     Py_DECREF(writer);
 
-    Py_BEGIN_ALLOW_THREADS
+    /*Py_BEGIN_ALLOW_THREADS*/ /*seg faults reported*/
     sfc = cairo_svg_surface_create_for_stream (_write_func, file,
 					 width_in_points, height_in_points);
-    Py_END_ALLOW_THREADS
+    /*Py_END_ALLOW_THREADS*/
     return PycairoSurface_FromSurface (sfc, file);
 }
 



More information about the cairo-commit mailing list