~psycopg/psycopg/2.0.x

« back to all changes in this revision

Viewing changes to psycopg/microprotocols_proto.h

  • Committer: Federico Di Gregorio
  • Date: 2007-04-10 06:36:18 UTC
  • Revision ID: fog-7050d8d8d2669efe71403b32fda453f9b1f6a470
Fixed both Python 2.5 and 64 bit problems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef PSYCOPG_ISQLQUOTE_H
23
23
#define PSYCOPG_ISQLQUOTE_H 1
24
24
 
 
25
#define PY_SSIZE_T_CLEAN
25
26
#include <Python.h>
26
27
#include <libpq-fe.h>
27
28
 
28
29
#ifdef __cplusplus
29
30
extern "C" {
30
31
#endif
31
 
    
 
32
 
32
33
extern PyTypeObject isqlquoteType;
33
34
 
34
35
typedef struct {
35
36
    PyObject_HEAD
36
37
 
37
38
    PyObject *wrapped;
38
 
    
 
39
 
39
40
} isqlquoteObject;
40
 
    
 
41
 
41
42
#ifdef __cplusplus
42
43
}
43
44
#endif