diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-12-12 10:55:19 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-12-12 13:39:32 +0000 |
| commit | 6d7916cfe12657408103ed20100436b64fb2b163 (patch) | |
| tree | 673f3a608dd2ae55f34df902119d4baa9b258162 /psycopg/microprotocols_proto.h | |
| parent | 9fa1eac2b49a799eda0e4d00c903e5e9a683931a (diff) | |
| download | psycopg2-6d7916cfe12657408103ed20100436b64fb2b163.tar.gz | |
Internal imports simplified.
.c files only need to import psycopg.h: it will in turn import
dependencies from Python and libpq and configure.h. psycopg.h should be
the first to be imported, so the basic imports are not required in
the .h's
As a guideline I'm trying to import from the most specific to the most
generic to detect missing imports in the .h's.
Diffstat (limited to 'psycopg/microprotocols_proto.h')
| -rw-r--r-- | psycopg/microprotocols_proto.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/psycopg/microprotocols_proto.h b/psycopg/microprotocols_proto.h index d7a67f2..614a263 100644 --- a/psycopg/microprotocols_proto.h +++ b/psycopg/microprotocols_proto.h @@ -26,12 +26,6 @@ #ifndef PSYCOPG_ISQLQUOTE_H #define PSYCOPG_ISQLQUOTE_H 1 -#define PY_SSIZE_T_CLEAN -#include <Python.h> -#include <libpq-fe.h> - -#include "psycopg/config.h" - #ifdef __cplusplus extern "C" { #endif |
