summaryrefslogtreecommitdiff
path: root/psycopg/bytes_format.c
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-03-01 00:57:52 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-03-01 02:53:28 +0000
commit5bfb6cdefed3754b2a15e1e3372630691392ca47 (patch)
treea5184076e1f38373395bf0206655fb4f9e0effb2 /psycopg/bytes_format.c
parentf2e4a8ed78973a0d14dbe0d463911436562683f3 (diff)
downloadpsycopg2-5bfb6cdefed3754b2a15e1e3372630691392ca47.tar.gz
Use more compact macros to annotate functions for the static checker
Diffstat (limited to 'psycopg/bytes_format.c')
-rw-r--r--psycopg/bytes_format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/psycopg/bytes_format.c b/psycopg/bytes_format.c
index b22422b..6866207 100644
--- a/psycopg/bytes_format.c
+++ b/psycopg/bytes_format.c
@@ -86,8 +86,7 @@
/* Helpers for formatstring */
-CPYCHECKER_RETURNS_BORROWED_REF
-Py_LOCAL_INLINE(PyObject *)
+BORROWED Py_LOCAL_INLINE(PyObject *)
getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx)
{
Py_ssize_t argidx = *p_argidx;