diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-18 23:16:40 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-19 00:28:39 +0000 |
| commit | 3e3aa676a9331aee9889f3ad21c75e784f35c31e (patch) | |
| tree | 9903a87b81c98f82f06bd2bec40fe6eedcb4c9f4 /psycopg/adapter_datetime.h | |
| parent | 576b01f6a39a321f866a2262073067d5378b1596 (diff) | |
| download | psycopg2-3e3aa676a9331aee9889f3ad21c75e784f35c31e.tar.gz | |
datetime module initialized as it is supposed to be.
Dropped compiler warnings. It wouldn't blow up if any api was called.
No need to pass type pointers around.
Diffstat (limited to 'psycopg/adapter_datetime.h')
| -rw-r--r-- | psycopg/adapter_datetime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/psycopg/adapter_datetime.h b/psycopg/adapter_datetime.h index a0df12e..a2c36fb 100644 --- a/psycopg/adapter_datetime.h +++ b/psycopg/adapter_datetime.h @@ -53,6 +53,8 @@ typedef struct { /* functions exported to psycopgmodule.c */ #ifdef PSYCOPG_DEFAULT_PYDATETIME +HIDDEN int psyco_adapter_datetime_init(void); + HIDDEN PyObject *psyco_Date(PyObject *module, PyObject *args); #define psyco_Date_doc \ "Date(year, month, day) -> new date\n\n" \ |
