static PyObject* image_unlock(PyImage *self, PyObject *args, PyObject *kwargs) { if (!PyArg_ParseTuple(args, ":unlock")) return NULL; oslUnlockImage(self->pImg); Py_INCREF(Py_None); return Py_None; }
void Buffer::unlock() { oslUnlockImage(img); }
static PyObject* image_unlock(PyImage *self, PyObject *args, PyObject *kwargs) { if (!PyArg_ParseTuple(args, ":unlock")) return NULL; oslUnlockImage(self->pImg); Py_INCREF(Py_None); return Py_None; }
void Buffer::unlock() { oslUnlockImage(img); }