diff options
| author | Fredrik Lundh <fredrik@pythonware.com> | 2006-05-27 14:58:20 (GMT) |
|---|---|---|
| committer | Fredrik Lundh <fredrik@pythonware.com> | 2006-05-27 14:58:20 (GMT) |
| commit | c2d29c5a6dc701f6fc1dc9b5274053f17c660960 (patch) | |
| tree | dbd3a26ab83c74ddbe7a6ca59770e56821436d9d /Objects/stringlib/partition.h | |
| parent | 94b8c122fddac469dd6af9ebf7c2eca27f39eb76 (diff) | |
| download | cpython-c2d29c5a6dc701f6fc1dc9b5274053f17c660960.zip cpython-c2d29c5a6dc701f6fc1dc9b5274053f17c660960.tar.gz cpython-c2d29c5a6dc701f6fc1dc9b5274053f17c660960.tar.bz2 | |
needforspeed: replace improvements, changed to Py_LOCAL_INLINE
where appropriate
Diffstat (limited to 'Objects/stringlib/partition.h')
| -rw-r--r-- | Objects/stringlib/partition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/partition.h b/Objects/stringlib/partition.h index 11a12c6..1486347 100644 --- a/Objects/stringlib/partition.h +++ b/Objects/stringlib/partition.h @@ -7,7 +7,7 @@ #error must include "stringlib/fastsearch.h" before including this module #endif -Py_LOCAL(PyObject*) +Py_LOCAL_INLINE(PyObject*) stringlib_partition( PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, PyObject* sep_obj, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len @@ -51,7 +51,7 @@ stringlib_partition( return out; } -Py_LOCAL(PyObject*) +Py_LOCAL_INLINE(PyObject*) stringlib_rpartition( PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, PyObject* sep_obj, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len |
