Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 48daa99

Browse files
oscargusdevRD
authored andcommitted
[MNT] Move NUM_VERTICES from mplutils.h to the only file it is used in
1 parent 1b13549 commit 48daa99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/_path.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include "_backend_agg_basic_types.h"
2222
#include "numpy_cpp.h"
2323

24+
const size_t NUM_VERTICES[] = { 1, 1, 1, 2, 3 };
25+
2426
struct XY
2527
{
2628
double x;

‎src/mplutils.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ enum {
4949
CLOSEPOLY = 0x4f
5050
};
5151

52-
const size_t NUM_VERTICES[] = { 1, 1, 1, 2, 3, 1 };
53-
5452
inline int prepare_and_add_type(PyTypeObject *type, PyObject *module)
5553
{
5654
if (PyType_Ready(type)) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /