diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 15:18:27 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-20 09:51:42 +0000 |
| commit | 954a0083d9ce7065564c18c9788743eb0cf371f2 (patch) | |
| tree | 3f77797181a9e89dafd9c5f00f6da3dc477d244b /src/helper | |
| parent | Replace typedef struct with struct in POD type declarations. (diff) | |
| download | inkscape-954a0083d9ce7065564c18c9788743eb0cf371f2.tar.gz inkscape-954a0083d9ce7065564c18c9788743eb0cf371f2.zip | |
Replace typedef enum with enum in POD type declarations.
Diffstat (limited to 'src/helper')
| -rw-r--r-- | src/helper/geom-nodetype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/geom-nodetype.h b/src/helper/geom-nodetype.h index 0272318a2..e3953a65d 100644 --- a/src/helper/geom-nodetype.h +++ b/src/helper/geom-nodetype.h @@ -25,7 +25,7 @@ namespace Geom { * derivate is connected. (Thus 2 means that the node is continuous * to the second derivative, i.e. has matching endpoints and tangents) */ -typedef enum { +enum NodeType { /** Discontinuous node, usually either start or endpoint of a path */ NODE_NONE, /** This node continuously joins two segments, but the unit tangent is discontinuous.*/ @@ -34,7 +34,7 @@ typedef enum { NODE_SMOOTH, /** This node is symmetric. I.e. continuously joins two segments with continuous derivative */ NODE_SYMM -} NodeType; +}; NodeType get_nodetype(Curve const &c_incoming, Curve const &c_outgoing); |
