summaryrefslogtreecommitdiff
path: root/psycopg/adapter_binary.h
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2014-08-15 02:37:37 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2014-08-15 02:54:31 +0100
commita2b01cdf4221f4fad94143606c06141ce91ef7bd (patch)
treeec0892ce94707ada499f3f89fa4d179be3689a53 /psycopg/adapter_binary.h
parent1b322a9b19e3edd4274d5802272d8eed62b4caa7 (diff)
downloadpsycopg2-a2b01cdf4221f4fad94143606c06141ce91ef7bd.tar.gz
Dropped simple type wrapper functions
These functions don't need to exist: exposing the type in the module is enough. It is actually better as one may use isinstance and such.
Diffstat (limited to 'psycopg/adapter_binary.h')
-rw-r--r--psycopg/adapter_binary.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/psycopg/adapter_binary.h b/psycopg/adapter_binary.h
index 408efc7..1c12b07 100644
--- a/psycopg/adapter_binary.h
+++ b/psycopg/adapter_binary.h
@@ -40,13 +40,6 @@ typedef struct {
PyObject *conn;
} binaryObject;
-/* functions exported to psycopgmodule.c */
-
-HIDDEN PyObject *psyco_Binary(PyObject *module, PyObject *args);
-#define psyco_Binary_doc \
- "Binary(buffer) -> new binary object\n\n" \
- "Build an object capable to hold a binary string value."
-
#ifdef __cplusplus
}
#endif