]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Thu, 12 Jul 2001 18:20:59 +0000 (18:20 +0000)
committercas <cas@opencascade.com>
Thu, 12 Jul 2001 18:20:59 +0000 (18:20 +0000)
src/CPPExt/CPPExt_Package.cxx
src/CPPExt/CPPExt_PersistentCSFDB.cxx
src/CPPExt/CPPExt_Storable.cxx
src/CPPExt/CPPExt_Transient.cxx

index aae759ba5d6d3536bfb66e622780cf4294beaacf..e41a1b490cab89cde15528407185f4950260888c 100755 (executable)
@@ -185,15 +185,11 @@ void CPP_Package(const Handle(MS_MetaSchema)& aMeta,
 
       CPP_BuildMethod(aMeta,api,methods->Value(i),methods->Value(i)->Name());
 
-#ifdef WNT
-      if (  !methods -> Value ( i ) -> IsInline ()  )
-#endif  // WNT
+      if (  !(methods -> Value ( i ) -> IsInline ())  ) {
         api->Apply(VMethod,"MethodTemplateDec");
-#ifdef WNT
-      else
+      } else {
         api->Apply(VMethod,"MethodTemplateDecInlineWNT" );
-#endif  // WNT
-      
+      }
       MS::MethodUsedTypes(aMeta,methods->Value(i),List,incp);
 
       if (methods->Value(i)->Private()) {
index e52e8950c1f27b759c2e6ade906db2761b5ccad6..0b16cfe55f65eb11e1a0c870a90575ab1ae584da 100755 (executable)
@@ -407,14 +407,10 @@ void CPP_PersistentClassCSFDB(const Handle(MS_MetaSchema)& aMeta,
 
       CPP_BuildMethod(aMeta,api,methods->Value(i),methods->Value(i)->Name());
 
-#ifdef WNT
       if (  !methods -> Value ( i ) -> IsInline ()  )
-#endif  // WNT
         api->Apply(VMethod,"MethodTemplateDec");
-#ifdef WNT
       else
         api->Apply(VMethod,"MethodTemplateDecInlineWNT" );
-#endif  // WNT
       
       if (methods->Value(i)->Private()) {
        privates->AssignCat(api->GetVariableValue(VMethod));
index 47e6df3ebf99553ef65ec0ca1281e9d309b41e85..ca6c28185ecfe1936ac59352be9ce8abb615b49c 100755 (executable)
@@ -393,14 +393,10 @@ void CPP_StorableClass(const Handle(MS_MetaSchema)& aMeta,
 
       CPP_BuildMethod(aMeta,api,methods->Value(i),methods->Value(i)->Name());
 
-#ifdef WNT
       if (  !methods -> Value ( i ) -> IsInline ()  )
-#endif  // WNT
         api->Apply(VMethod,"MethodTemplateDec");
-#ifdef WNT
       else
         api->Apply(VMethod,"MethodTemplateDecInlineWNT" );
-#endif  // WNT
 
       if (methods->Value(i)->Private()) {
        privates->AssignCat(api->GetVariableValue(VMethod));
index bccc55a3e8d621677a50f694b161f274a9f37129..55029acabcd30e7a31d3b57edda3ce5a927e0df0 100755 (executable)
@@ -275,15 +275,10 @@ void CPP_TransientClass(const Handle(MS_MetaSchema)& aMeta,
       }
 
       CPP_BuildMethod(aMeta,api,methods->Value(i),methods->Value(i)->Name());
-
-#ifdef WNT
       if (  !methods -> Value ( i ) -> IsInline ()  )
-#endif  // WNT
         api->Apply(VMethod,"MethodTemplateDec");
-#ifdef WNT
       else
         api->Apply(VMethod,"MethodTemplateDecInlineWNT" );
-#endif  // WNT
 
       if (methods->Value(i)->Private()) {
        privates->AssignCat(api->GetVariableValue(VMethod));