Fixed argument checking in __init__ methods of Interface1D, Predicates,
Functions, and StrokeShader types.
This commit is contained in:
@@ -11,7 +11,7 @@ extern "C" {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*--------------- Python API function prototypes for GetOccludeeF1D instance -----------*/
|
||||
static int GetOccludeeF1D___init__(BPy_GetOccludeeF1D* self);
|
||||
static int GetOccludeeF1D___init__(BPy_GetOccludeeF1D* self, PyObject *args);
|
||||
|
||||
/*-----------------------BPy_GetOccludeeF1D type definition ------------------------------*/
|
||||
|
||||
@@ -100,8 +100,10 @@ PyTypeObject GetOccludeeF1D_Type = {
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
int GetOccludeeF1D___init__( BPy_GetOccludeeF1D* self )
|
||||
int GetOccludeeF1D___init__( BPy_GetOccludeeF1D* self, PyObject *args )
|
||||
{
|
||||
if( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->py_uf1D_vectorviewshape.uf1D_vectorviewshape = new Functions1D::GetOccludeeF1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*--------------- Python API function prototypes for GetOccludersF1D instance -----------*/
|
||||
static int GetOccludersF1D___init__(BPy_GetOccludersF1D* self);
|
||||
static int GetOccludersF1D___init__(BPy_GetOccludersF1D* self, PyObject *args);
|
||||
|
||||
/*-----------------------BPy_GetOccludersF1D type definition ------------------------------*/
|
||||
|
||||
@@ -100,8 +100,10 @@ PyTypeObject GetOccludersF1D_Type = {
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
int GetOccludersF1D___init__( BPy_GetOccludersF1D* self )
|
||||
int GetOccludersF1D___init__( BPy_GetOccludersF1D* self, PyObject *args )
|
||||
{
|
||||
if( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->py_uf1D_vectorviewshape.uf1D_vectorviewshape = new Functions1D::GetOccludersF1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*--------------- Python API function prototypes for GetShapeF1D instance -----------*/
|
||||
static int GetShapeF1D___init__(BPy_GetShapeF1D* self);
|
||||
static int GetShapeF1D___init__(BPy_GetShapeF1D* self, PyObject *args);
|
||||
|
||||
/*-----------------------BPy_GetShapeF1D type definition ------------------------------*/
|
||||
|
||||
@@ -100,8 +100,10 @@ PyTypeObject GetShapeF1D_Type = {
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
int GetShapeF1D___init__( BPy_GetShapeF1D* self )
|
||||
int GetShapeF1D___init__( BPy_GetShapeF1D* self, PyObject *args )
|
||||
{
|
||||
if( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->py_uf1D_vectorviewshape.uf1D_vectorviewshape = new Functions1D::GetShapeF1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*--------------- Python API function prototypes for ChainingTimeStampF1D instance -----------*/
|
||||
static int ChainingTimeStampF1D___init__(BPy_ChainingTimeStampF1D* self);
|
||||
static int ChainingTimeStampF1D___init__(BPy_ChainingTimeStampF1D* self, PyObject *args);
|
||||
|
||||
/*-----------------------BPy_ChainingTimeStampF1D type definition ------------------------------*/
|
||||
|
||||
@@ -100,8 +100,10 @@ PyTypeObject ChainingTimeStampF1D_Type = {
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
int ChainingTimeStampF1D___init__( BPy_ChainingTimeStampF1D* self )
|
||||
int ChainingTimeStampF1D___init__( BPy_ChainingTimeStampF1D* self, PyObject *args )
|
||||
{
|
||||
if( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->py_uf1D_void.uf1D_void = new Functions1D::ChainingTimeStampF1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*--------------- Python API function prototypes for IncrementChainingTimeStampF1D instance -----------*/
|
||||
static int IncrementChainingTimeStampF1D___init__(BPy_IncrementChainingTimeStampF1D* self);
|
||||
static int IncrementChainingTimeStampF1D___init__(BPy_IncrementChainingTimeStampF1D* self, PyObject *args);
|
||||
|
||||
/*-----------------------BPy_IncrementChainingTimeStampF1D type definition ------------------------------*/
|
||||
|
||||
@@ -100,8 +100,10 @@ PyTypeObject IncrementChainingTimeStampF1D_Type = {
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
int IncrementChainingTimeStampF1D___init__( BPy_IncrementChainingTimeStampF1D* self )
|
||||
int IncrementChainingTimeStampF1D___init__( BPy_IncrementChainingTimeStampF1D* self, PyObject *args )
|
||||
{
|
||||
if( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->py_uf1D_void.uf1D_void = new Functions1D::IncrementChainingTimeStampF1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*--------------- Python API function prototypes for TimeStampF1D instance -----------*/
|
||||
static int TimeStampF1D___init__(BPy_TimeStampF1D* self);
|
||||
static int TimeStampF1D___init__(BPy_TimeStampF1D* self, PyObject *args);
|
||||
|
||||
/*-----------------------BPy_TimeStampF1D type definition ------------------------------*/
|
||||
|
||||
@@ -100,8 +100,10 @@ PyTypeObject TimeStampF1D_Type = {
|
||||
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
int TimeStampF1D___init__( BPy_TimeStampF1D* self )
|
||||
int TimeStampF1D___init__( BPy_TimeStampF1D* self, PyObject *args )
|
||||
{
|
||||
if( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->py_uf1D_void.uf1D_void = new Functions1D::TimeStampF1D();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user