Rename 'self.c' to 'self.ptr' in 'libfields.py'