Fix build error after PyGPU changes
This commit is contained in:
parent
8fa8cea8e0
commit
9f753e5649
|
@ -65,7 +65,7 @@ static PyObject *py_error__getter(PyObject *UNUSED(self), void *UNUSED(type))
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static int py_error__setter(PyObject *UNUSED(self), PyObject *value, void *UNUSED(type))
|
||||
static int py_error__setter(PyObject *UNUSED(self), PyObject *UNUSED(value), void *UNUSED(type))
|
||||
{
|
||||
PyErr_SetString(PyExc_SystemError, g_error);
|
||||
return -1;
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
||||
extern struct PyC_StringEnumItems bpygpu_primtype_items[];
|
||||
extern struct PyC_StringEnumItems bpygpu_dataformat_items[];
|
||||
|
||||
|
|
Loading…
Reference in New Issue