From cf9c3d86f4d251a105ef0784ed7248328f350342 Mon Sep 17 00:00:00 2001 From: cas Date: Thu, 12 Jul 2001 18:20:59 +0000 Subject: [PATCH] No comments --- src/CPPExt/CPPExt_Package.cxx | 10 +++------- src/CPPExt/CPPExt_PersistentCSFDB.cxx | 4 ---- src/CPPExt/CPPExt_Storable.cxx | 4 ---- src/CPPExt/CPPExt_Transient.cxx | 5 ----- 4 files changed, 3 insertions(+), 20 deletions(-) diff --git a/src/CPPExt/CPPExt_Package.cxx b/src/CPPExt/CPPExt_Package.cxx index aae759b..e41a1b4 100755 --- a/src/CPPExt/CPPExt_Package.cxx +++ b/src/CPPExt/CPPExt_Package.cxx @@ -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()) { diff --git a/src/CPPExt/CPPExt_PersistentCSFDB.cxx b/src/CPPExt/CPPExt_PersistentCSFDB.cxx index e52e895..0b16cfe 100755 --- a/src/CPPExt/CPPExt_PersistentCSFDB.cxx +++ b/src/CPPExt/CPPExt_PersistentCSFDB.cxx @@ -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)); diff --git a/src/CPPExt/CPPExt_Storable.cxx b/src/CPPExt/CPPExt_Storable.cxx index 47e6df3..ca6c281 100755 --- a/src/CPPExt/CPPExt_Storable.cxx +++ b/src/CPPExt/CPPExt_Storable.cxx @@ -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)); diff --git a/src/CPPExt/CPPExt_Transient.cxx b/src/CPPExt/CPPExt_Transient.cxx index bccc55a..55029ac 100755 --- a/src/CPPExt/CPPExt_Transient.cxx +++ b/src/CPPExt/CPPExt_Transient.cxx @@ -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)); -- 2.39.5