-// Copyright (C) 2005-2013 OPEN CASCADE
+// Copyright (C) 2005-2024 OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
* Engine factory
*/
extern "C"
-{
+{
+ SIERPINSKYENGINE_EXPORT
PortableServer::ObjectId * SIERPINSKYEngine_factory( CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
PortableServer::ObjectId* contId,
}
// create MED 2.2 file
- MED::PWrapper aMed = MED::CrWrapper( theFileName, MED::eV2_2 );
+ MED::PWrapper aMed = MED::CrWrapperW( theFileName );
// create 2D mesh
MED::PMeshInfo aMesh = aMed->CrMeshInfo( 2, 2, "Sierpinsky" );