Commit 1348962f authored by Sean McBride's avatar Sean McBride
Browse files

Made private functions static

Change-Id: Ic118a90ce7a5a84e2bc52775013247d14ab90120
parent 82a84473
......@@ -80,7 +80,7 @@ static PyObject *PyVTKObject_Repr(PyObject *op)
}
//--------------------------------------------------------------------
int PyVTKObject_SetAttr(PyObject *op, PyObject *attr, PyObject *value)
static int PyVTKObject_SetAttr(PyObject *op, PyObject *attr, PyObject *value)
{
PyVTKObject *self = (PyVTKObject *)op;
char *name = PyString_AsString(attr);
......
......@@ -220,7 +220,7 @@ inline bool vtkPythonGetStdStringValue(PyObject *o, std::string &a, const char *
//--------------------------------------------------------------------
// Overloaded methods, mostly based on the above templates
bool vtkPythonGetValue(PyObject *o, const void *&a)
static bool vtkPythonGetValue(PyObject *o, const void *&a)
{
PyBufferProcs *b = o->ob_type->tp_as_buffer;
if (b && b->bf_getreadbuffer && b->bf_getsegcount)
......
......@@ -144,9 +144,9 @@ bool vtkPythonOverloadHelper::next(const char **format, const char **classname)
#if VTK_SIZEOF_LONG != VTK_SIZEOF_INT
#ifdef PY_LONG_LONG
int vtkPythonIntPenalty(PY_LONG_LONG tmpi, int penalty, char format)
static int vtkPythonIntPenalty(PY_LONG_LONG tmpi, int penalty, char format)
#else
int vtkPythonIntPenalty(long tmpi, int penalty, char format)
static int vtkPythonIntPenalty(long tmpi, int penalty, char format)
#endif
{
if (tmpi > VTK_INT_MAX || tmpi < VTK_INT_MIN)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment