|
From: <md...@us...> - 2010-06-24 17:05:55
|
Revision: 8462
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8462&view=rev
Author: mdboom
Date: 2010-06-24 17:05:49 +0000 (Thu, 24 Jun 2010)
Log Message:
-----------
Use the more standard term "pop" rather than "flush" for removing the next item from the queue.
Modified Paths:
--------------
trunk/matplotlib/src/path_converters.h
Modified: trunk/matplotlib/src/path_converters.h
===================================================================
--- trunk/matplotlib/src/path_converters.h 2010-06-24 14:48:00 UTC (rev 8461)
+++ trunk/matplotlib/src/path_converters.h 2010-06-24 17:05:49 UTC (rev 8462)
@@ -88,7 +88,7 @@
}
inline bool
- queue_flush(unsigned *cmd, double *x, double *y)
+ queue_pop(unsigned *cmd, double *x, double *y)
{
if (queue_nonempty())
{
@@ -159,7 +159,7 @@
if (m_has_curves)
{
/* This is the slow method for when there might be curves. */
- if (queue_flush(&code, x, y))
+ if (queue_pop(&code, x, y))
{
return code;
}
@@ -216,7 +216,7 @@
}
}
- if (queue_flush(&code, x, y))
+ if (queue_pop(&code, x, y))
{
return code;
}
@@ -567,7 +567,7 @@
the queue before proceeding to the main loop below.
-- Michael Droettboom */
- if (queue_flush(&cmd, x, y))
+ if (queue_pop(&cmd, x, y))
{
return cmd;
}
@@ -740,7 +740,7 @@
/* Return the first item in the queue, if any, otherwise
indicate that we're done. */
- if (queue_flush(&cmd, x, y))
+ if (queue_pop(&cmd, x, y))
{
return cmd;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|