summaryrefslogtreecommitdiff
path: root/Objects/stringlib/count.h
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2006-05-27 14:58:20 +0000
committerFredrik Lundh <fredrik@pythonware.com>2006-05-27 14:58:20 +0000
commitc2d29c5a6dc701f6fc1dc9b5274053f17c660960 (patch)
treedbd3a26ab83c74ddbe7a6ca59770e56821436d9d /Objects/stringlib/count.h
parent94b8c122fddac469dd6af9ebf7c2eca27f39eb76 (diff)
downloadcpython-git-c2d29c5a6dc701f6fc1dc9b5274053f17c660960.tar.gz
needforspeed: replace improvements, changed to Py_LOCAL_INLINE
where appropriate
Diffstat (limited to 'Objects/stringlib/count.h')
-rw-r--r--Objects/stringlib/count.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/count.h b/Objects/stringlib/count.h
index 0036f63424..0bd02b5974 100644
--- a/Objects/stringlib/count.h
+++ b/Objects/stringlib/count.h
@@ -7,7 +7,7 @@
#error must include "stringlib/fastsearch.h" before including this module
#endif
-Py_LOCAL(Py_ssize_t)
+Py_LOCAL_INLINE(Py_ssize_t)
stringlib_count(const STRINGLIB_CHAR* str, Py_ssize_t str_len,
const STRINGLIB_CHAR* sub, Py_ssize_t sub_len)
{