Lines Matching defs:self
53 static PyObject* py_magic_open(PyObject* self, PyObject* args)
71 static PyObject* py_magic_close(PyObject* self, PyObject* args)
73 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
84 static PyObject* py_magic_error(PyObject* self, PyObject* args)
86 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
105 static PyObject* py_magic_errno(PyObject* self, PyObject* args)
107 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
115 static PyObject* py_magic_file(PyObject* self, PyObject* args)
117 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
139 static PyObject* py_magic_buffer(PyObject* self, PyObject* args)
141 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
164 static PyObject* py_magic_setflags(PyObject* self, PyObject* args)
166 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
182 static PyObject* py_magic_check(PyObject* self, PyObject* args)
184 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
202 static PyObject* py_magic_compile(PyObject* self, PyObject* args)
204 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
221 static PyObject* py_magic_load(PyObject* self, PyObject* args)
223 magic_cookie_hnd* hnd = (magic_cookie_hnd*)self;
267 static void py_magic_dealloc(PyObject* self)
269 PyObject_Del(self);
272 static PyObject* py_magic_getattr(PyObject* self, char* attrname)
274 return Py_FindMethod(magic_cookie_hnd_methods, self, attrname);