0025039: Improvement of code structure of general and supporting tools implemented...
[occt.git] / src / BRepMesh / BRepMesh_PluginMacro.hxx
index 5b7b811..4da575e 100644 (file)
 #ifndef BRepMesh_PluginMacro_HeaderFile
 #define BRepMesh_PluginMacro_HeaderFile
 
-#define DISCRETPLUGIN(name) \
-extern "C" {Standard_EXPORT Standard_Integer DISCRETALGO(const TopoDS_Shape& ,\
-                                                        const Standard_Real,\
-                                                        const Standard_Real,\
-                                                        BRepMesh_PDiscretRoot& );} \
-Standard_Integer DISCRETALGO(const TopoDS_Shape& theShape,\
-                            const Standard_Real    theDeflection,\
-                            const Standard_Real    theAngle,\
-                            BRepMesh_PDiscretRoot&  theAlgo) { \
-  return name::Discret(theShape,\
-                      theDeflection,\
-                      theAngle,\
-                      theAlgo);} \
-\
-
+#define DISCRETPLUGIN(name)                                               \
+extern "C" {                                                              \
+  Standard_EXPORT Standard_Integer DISCRETALGO(const TopoDS_Shape& ,      \
+                                               const Standard_Real,       \
+                                               const Standard_Real,       \
+                                               BRepMesh_PDiscretRoot& );  \
+}                                                                         \
+                                                                          \
+Standard_Integer DISCRETALGO(const TopoDS_Shape&     theShape,            \
+                             const Standard_Real     theLinDeflection,    \
+                             const Standard_Real     theAngDeflection,    \
+                             BRepMesh_PDiscretRoot&  theAlgo)             \
+{                                                                         \
+  return name::Discret(theShape, theLinDeflection,                        \
+    theAngDeflection, theAlgo);                                           \
+}                                                                         \
+                                                                          \
 
 #endif