Skip to content

Commit

Permalink
run shiboken
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed May 3, 2020
1 parent 2f649ce commit 3217b26
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 442 deletions.
20 changes: 10 additions & 10 deletions Engine/NatronEngine/effect_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ static PyObject* Sbk_EffectFunc_isNodeSelected(PyObject* self)
return pyResult;
}

static PyObject* Sbk_EffectFunc_isReaderNode(PyObject* self)
static PyObject* Sbk_EffectFunc_isOutputNode(PyObject* self)
{
::Effect* cppSelf = 0;
SBK_UNUSED(cppSelf)
Expand All @@ -1197,8 +1197,8 @@ static PyObject* Sbk_EffectFunc_isReaderNode(PyObject* self)
{

if (!PyErr_Occurred()) {
// isReaderNode()
bool cppResult = cppSelf->isReaderNode();
// isOutputNode()
bool cppResult = cppSelf->isOutputNode();
pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
}
}
Expand All @@ -1210,7 +1210,7 @@ static PyObject* Sbk_EffectFunc_isReaderNode(PyObject* self)
return pyResult;
}

static PyObject* Sbk_EffectFunc_isWriterNode(PyObject* self)
static PyObject* Sbk_EffectFunc_isReaderNode(PyObject* self)
{
::Effect* cppSelf = 0;
SBK_UNUSED(cppSelf)
Expand All @@ -1223,8 +1223,8 @@ static PyObject* Sbk_EffectFunc_isWriterNode(PyObject* self)
{

if (!PyErr_Occurred()) {
// isWriterNode()
bool cppResult = cppSelf->isWriterNode();
// isReaderNode()
bool cppResult = cppSelf->isReaderNode();
pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
}
}
Expand All @@ -1236,7 +1236,7 @@ static PyObject* Sbk_EffectFunc_isWriterNode(PyObject* self)
return pyResult;
}

static PyObject* Sbk_EffectFunc_isOutputNode(PyObject* self)
static PyObject* Sbk_EffectFunc_isWriterNode(PyObject* self)
{
::Effect* cppSelf = 0;
SBK_UNUSED(cppSelf)
Expand All @@ -1249,8 +1249,8 @@ static PyObject* Sbk_EffectFunc_isOutputNode(PyObject* self)
{

if (!PyErr_Occurred()) {
// isOutputNode()
bool cppResult = cppSelf->isOutputNode();
// isWriterNode()
bool cppResult = cppSelf->isWriterNode();
pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
}
}
Expand Down Expand Up @@ -1644,9 +1644,9 @@ static PyMethodDef Sbk_Effect_methods[] = {
{"getTrackerContext", (PyCFunction)Sbk_EffectFunc_getTrackerContext, METH_NOARGS},
{"getUserPageParam", (PyCFunction)Sbk_EffectFunc_getUserPageParam, METH_NOARGS},
{"isNodeSelected", (PyCFunction)Sbk_EffectFunc_isNodeSelected, METH_NOARGS},
{"isOutputNode", (PyCFunction)Sbk_EffectFunc_isOutputNode, METH_NOARGS},
{"isReaderNode", (PyCFunction)Sbk_EffectFunc_isReaderNode, METH_NOARGS},
{"isWriterNode", (PyCFunction)Sbk_EffectFunc_isWriterNode, METH_NOARGS},
{"isOutputNode", (PyCFunction)Sbk_EffectFunc_isOutputNode, METH_NOARGS},
{"setColor", (PyCFunction)Sbk_EffectFunc_setColor, METH_VARARGS},
{"setLabel", (PyCFunction)Sbk_EffectFunc_setLabel, METH_O},
{"setPagesOrder", (PyCFunction)Sbk_EffectFunc_setPagesOrder, METH_O},
Expand Down
Loading

0 comments on commit 3217b26

Please sign in to comment.