replace VECCOPY and QUATCOPY with inline funcs.

This commit is contained in:
2011-10-28 12:40:15 +00:00
parent 565fcd8907
commit 0d63bb005f
22 changed files with 206 additions and 220 deletions

View File

@@ -1157,7 +1157,7 @@ PyObject *newQuaternionObject(float *quat, int type, PyTypeObject *base_type)
unit_qt(self->quat);
}
else {
QUATCOPY(self->quat, quat);
copy_qt_qt(self->quat, quat);
}
self->wrapped = Py_NEW;
}