+ whitespace improvement
This commit is contained in:
parent
1f4f94017a
commit
24c234b80a
|
@ -179,8 +179,8 @@ Py::Object View3DInventorViewerPy::getSoEventManager(const Py::Tuple& args)
|
|||
Py::Object View3DInventorViewerPy::seekToPoint(const Py::Tuple& args)
|
||||
{
|
||||
PyObject* object;
|
||||
if (!PyArg_ParseTuple(args.ptr(), "O", &object))
|
||||
throw Py::Exception();
|
||||
if (!PyArg_ParseTuple(args.ptr(), "O", &object))
|
||||
throw Py::Exception();
|
||||
|
||||
try {
|
||||
const Py::Tuple tuple(object);
|
||||
|
@ -257,4 +257,4 @@ Py::Object View3DInventorViewerPy::getFocalDistance(const Py::Tuple& args)
|
|||
catch(...) {
|
||||
throw Py::Exception("Unknown C++ exception");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,22 +51,21 @@ public:
|
|||
Py::Object repr();
|
||||
Py::Object getattr(const char *);
|
||||
int setattr(const char *, const Py::Object &);
|
||||
|
||||
|
||||
//exposed methods
|
||||
Py::Object getSoEventManager(const Py::Tuple&);
|
||||
Py::Object getSoRenderManager(const Py::Tuple&);
|
||||
|
||||
|
||||
Py::Object seekToPoint(const Py::Tuple&);
|
||||
Py::Object setFocalDistance(const Py::Tuple& args);
|
||||
Py::Object getFocalDistance(const Py::Tuple& args);
|
||||
|
||||
Py::Object getFocalDistance(const Py::Tuple& args);
|
||||
|
||||
|
||||
private:
|
||||
private:
|
||||
typedef PyObject* (*method_varargs_handler)(PyObject *_self, PyObject *_args);
|
||||
static method_varargs_handler pycxx_handler;
|
||||
static PyObject *method_varargs_ext_handler(PyObject *_self, PyObject *_args);
|
||||
|
||||
|
||||
private:
|
||||
std::list<PyObject*> callbacks;
|
||||
View3DInventorViewer* _viewer;
|
||||
|
|
Loading…
Reference in New Issue
Block a user