Code style clean-up.
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
* \ingroup freestyle
|
||||
*/
|
||||
|
||||
#ifndef FREESTYLE_PYTHON_CURVEPOINT_H
|
||||
#define FREESTYLE_PYTHON_CURVEPOINT_H
|
||||
#ifndef __FREESTYLE_PYTHON_CURVEPOINT_H__
|
||||
#define __FREESTYLE_PYTHON_CURVEPOINT_H__
|
||||
|
||||
#include "../BPy_Interface0D.h"
|
||||
#include "../../stroke/Curve.h"
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
|
||||
extern PyTypeObject CurvePoint_Type;
|
||||
|
||||
#define BPy_CurvePoint_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &CurvePoint_Type) )
|
||||
#define BPy_CurvePoint_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&CurvePoint_Type))
|
||||
|
||||
/*---------------------------Python BPy_CurvePoint structure definition----------*/
|
||||
typedef struct {
|
||||
@@ -59,4 +59,4 @@ typedef struct {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREESTYLE_PYTHON_CURVEPOINT_H */
|
||||
#endif /* __FREESTYLE_PYTHON_CURVEPOINT_H__ */
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
* \ingroup freestyle
|
||||
*/
|
||||
|
||||
#ifndef FREESTYLE_PYTHON_SVERTEX_H
|
||||
#define FREESTYLE_PYTHON_SVERTEX_H
|
||||
#ifndef __FREESTYLE_PYTHON_SVERTEX_H__
|
||||
#define __FREESTYLE_PYTHON_SVERTEX_H__
|
||||
|
||||
#include "../../view_map/Silhouette.h"
|
||||
#include "../BPy_Interface0D.h"
|
||||
@@ -46,7 +46,7 @@ extern "C" {
|
||||
|
||||
extern PyTypeObject SVertex_Type;
|
||||
|
||||
#define BPy_SVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &SVertex_Type) )
|
||||
#define BPy_SVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SVertex_Type))
|
||||
|
||||
/*---------------------------Python BPy_SVertex structure definition----------*/
|
||||
typedef struct {
|
||||
@@ -64,4 +64,4 @@ void SVertex_mathutils_register_callback();
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREESTYLE_PYTHON_SVERTEX_H */
|
||||
#endif /* __FREESTYLE_PYTHON_SVERTEX_H__ */
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
* \ingroup freestyle
|
||||
*/
|
||||
|
||||
#ifndef FREESTYLE_PYTHON_VIEWVERTEX_H
|
||||
#define FREESTYLE_PYTHON_VIEWVERTEX_H
|
||||
#ifndef __FREESTYLE_PYTHON_VIEWVERTEX_H__
|
||||
#define __FREESTYLE_PYTHON_VIEWVERTEX_H__
|
||||
|
||||
#include "../../view_map/ViewMap.h"
|
||||
#include "../BPy_Interface0D.h"
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
|
||||
extern PyTypeObject ViewVertex_Type;
|
||||
|
||||
#define BPy_ViewVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ViewVertex_Type) )
|
||||
#define BPy_ViewVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewVertex_Type))
|
||||
|
||||
/*---------------------------Python BPy_ViewVertex structure definition----------*/
|
||||
typedef struct {
|
||||
@@ -59,4 +59,4 @@ typedef struct {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREESTYLE_PYTHON_VIEWVERTEX_H */
|
||||
#endif /* __FREESTYLE_PYTHON_VIEWVERTEX_H__ */
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
* \ingroup freestyle
|
||||
*/
|
||||
|
||||
#ifndef FREESTYLE_PYTHON_STROKEVERTEX_H
|
||||
#define FREESTYLE_PYTHON_STROKEVERTEX_H
|
||||
#ifndef __FREESTYLE_PYTHON_STROKEVERTEX_H__
|
||||
#define __FREESTYLE_PYTHON_STROKEVERTEX_H__
|
||||
|
||||
#include "../BPy_CurvePoint.h"
|
||||
#include "../../../stroke/Stroke.h"
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
|
||||
extern PyTypeObject StrokeVertex_Type;
|
||||
|
||||
#define BPy_StrokeVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &StrokeVertex_Type) )
|
||||
#define BPy_StrokeVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertex_Type))
|
||||
|
||||
/*---------------------------Python BPy_StrokeVertex structure definition----------*/
|
||||
typedef struct {
|
||||
@@ -63,4 +63,4 @@ void StrokeVertex_mathutils_register_callback();
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREESTYLE_PYTHON_STROKEVERTEX_H */
|
||||
#endif /* __FREESTYLE_PYTHON_STROKEVERTEX_H__ */
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
* \ingroup freestyle
|
||||
*/
|
||||
|
||||
#ifndef FREESTYLE_PYTHON_NONTVERTEX_H
|
||||
#define FREESTYLE_PYTHON_NONTVERTEX_H
|
||||
#ifndef __FREESTYLE_PYTHON_NONTVERTEX_H__
|
||||
#define __FREESTYLE_PYTHON_NONTVERTEX_H__
|
||||
|
||||
#include "../BPy_ViewVertex.h"
|
||||
#include "../../../view_map/ViewMap.h"
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
|
||||
extern PyTypeObject NonTVertex_Type;
|
||||
|
||||
#define BPy_NonTVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &NonTVertex_Type) )
|
||||
#define BPy_NonTVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&NonTVertex_Type))
|
||||
|
||||
/*---------------------------Python BPy_NonTVertex structure definition----------*/
|
||||
typedef struct {
|
||||
@@ -59,4 +59,4 @@ typedef struct {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREESTYLE_PYTHON_NONTVERTEX_H */
|
||||
#endif /* __FREESTYLE_PYTHON_NONTVERTEX_H__ */
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
* \ingroup freestyle
|
||||
*/
|
||||
|
||||
#ifndef FREESTYLE_PYTHON_TVERTEX_H
|
||||
#define FREESTYLE_PYTHON_TVERTEX_H
|
||||
#ifndef __FREESTYLE_PYTHON_TVERTEX_H__
|
||||
#define __FREESTYLE_PYTHON_TVERTEX_H__
|
||||
|
||||
#include "../BPy_ViewVertex.h"
|
||||
#include "../../../view_map/ViewMap.h"
|
||||
@@ -45,7 +45,7 @@ extern "C" {
|
||||
|
||||
extern PyTypeObject TVertex_Type;
|
||||
|
||||
#define BPy_TVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &TVertex_Type) )
|
||||
#define BPy_TVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&TVertex_Type))
|
||||
|
||||
/*---------------------------Python BPy_TVertex structure definition----------*/
|
||||
typedef struct {
|
||||
@@ -59,4 +59,4 @@ typedef struct {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREESTYLE_PYTHON_TVERTEX_H */
|
||||
#endif /* __FREESTYLE_PYTHON_TVERTEX_H__ */
|
||||
|
||||
Reference in New Issue
Block a user