needforspeed: replace improvements, changed to Py_LOCAL_INLINE

where appropriate
This commit is contained in:
Fredrik Lundh 2006-05-27 14:58:20 +00:00
parent 94b8c122fd
commit c2d29c5a6d
6 changed files with 55 additions and 41 deletions

View file

@ -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)
{