+ unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
30
src/Mod/Part/App/Part2DObjectPyImp.cpp
Normal file
30
src/Mod/Part/App/Part2DObjectPyImp.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "Mod/Part/App/Part2DObject.h"
|
||||
|
||||
// inclusion of the generated files (generated out of Part2DObjectPy.xml)
|
||||
#include "Part2DObjectPy.h"
|
||||
#include "Part2DObjectPy.cpp"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string Part2DObjectPy::representation(void) const
|
||||
{
|
||||
return std::string("<Part2DObject object>");
|
||||
}
|
||||
|
||||
|
||||
|
||||
PyObject *Part2DObjectPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Part2DObjectPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user