Diff of /trunk/MySQLdb/_mysql.h [r455] .. [r456]  Maximize  Restore

  Switch to unified view

a/trunk/MySQLdb/_mysql.h b/trunk/MySQLdb/_mysql.h
...
...
23
# define MyTuple_Resize(t,n,d) _PyTuple_Resize(t, n)
23
# define MyTuple_Resize(t,n,d) _PyTuple_Resize(t, n)
24
# define MyMember(a,b,c,d,e) {a,b,c,d,e}
24
# define MyMember(a,b,c,d,e) {a,b,c,d,e}
25
# define MyMemberlist(x) struct PyMemberDef x
25
# define MyMemberlist(x) struct PyMemberDef x
26
# define MyAlloc(s,t) (s *) t.tp_alloc(&t,0)
26
# define MyAlloc(s,t) (s *) t.tp_alloc(&t,0)
27
# define MyFree(ob) ob->ob_type->tp_free((PyObject *)ob) 
27
# define MyFree(ob) ob->ob_type->tp_free((PyObject *)ob) 
28
#endif
29
30
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
31
typedef int Py_ssize_t;
32
#define PY_SSIZE_T_MAX INT_MAX
33
#define PY_SSIZE_T_MIN INT_MIN
28
#endif
34
#endif
29
35
30
typedef struct {
36
typedef struct {
31
    PyObject_HEAD
37
    PyObject_HEAD
32
    MYSQL connection;
38
    MYSQL connection;