fix for some pedantic warnings.
This commit is contained in:
@@ -329,9 +329,9 @@ static PySequenceMethods Color_SeqMethods = {
|
||||
(binaryfunc) NULL, /* sq_concat */
|
||||
(ssizeargfunc) NULL, /* sq_repeat */
|
||||
(ssizeargfunc) Color_item, /* sq_item */
|
||||
(ssizessizeargfunc) NULL, /* sq_slice, deprecated */
|
||||
NULL, /* sq_slice, deprecated */
|
||||
(ssizeobjargproc) Color_ass_item, /* sq_ass_item */
|
||||
(ssizessizeobjargproc) NULL, /* sq_ass_slice, deprecated */
|
||||
NULL, /* sq_ass_slice, deprecated */
|
||||
(objobjproc) NULL, /* sq_contains */
|
||||
(binaryfunc) NULL, /* sq_inplace_concat */
|
||||
(ssizeargfunc) NULL, /* sq_inplace_repeat */
|
||||
|
||||
@@ -573,7 +573,7 @@ static char Vector_Difference_doc[] =
|
||||
" :return: the rotational difference between the two vectors.\n"
|
||||
" :rtype: :class:`Quaternion`\n"
|
||||
"\n"
|
||||
" .. note:: 2D vectors raise an :exc:`AttributeError`.\n";;
|
||||
" .. note:: 2D vectors raise an :exc:`AttributeError`.\n";
|
||||
|
||||
static PyObject *Vector_Difference(VectorObject *self, VectorObject *value )
|
||||
{
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
||||
bContext* __py_context = NULL;
|
||||
bContext* BPy_GetContext(void) { return __py_context; };
|
||||
void BPy_SetContext(bContext *C) { __py_context= C; };
|
||||
bContext* BPy_GetContext(void) { return __py_context; }
|
||||
void BPy_SetContext(bContext *C) { __py_context= C; }
|
||||
|
||||
int BPY_class_validate(const char *class_type, PyObject *class, PyObject *base_class, BPY_class_attr_check* class_attrs, PyObject **py_class_attrs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user