These are both simple functions that serve the same purpose. Py_NewRef didn't exist when Py_INCREF_RET was added to Blender.
extern