diff options
| author | scoder <none@none> | 2006-03-23 11:59:03 +0100 |
|---|---|---|
| committer | scoder <none@none> | 2006-03-23 11:59:03 +0100 |
| commit | bdb75d512f3eeb3a5e2eba0921b0cd58f6f45a18 (patch) | |
| tree | 897b7c669801d250a5a72421742ce846400d08fe /src/lxml/python.pxd | |
| parent | 2c43cc8948f342a693f82fc74567dab77f8e8b8f (diff) | |
| download | python-lxml-bdb75d512f3eeb3a5e2eba0921b0cd58f6f45a18.tar.gz | |
[svn r819] make string -> char* conversion explicit (C macro '_cstr') , replace it with straight Python API call
--HG--
branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
| -rw-r--r-- | src/lxml/python.pxd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd index 2cef4781..c239a39c 100644 --- a/src/lxml/python.pxd +++ b/src/lxml/python.pxd @@ -41,3 +41,4 @@ cdef extern from "etree.h": # redefines some functions as macros cdef int isinstance(object instance, object classes) cdef int hasattr(object obj, object attr) cdef int callable(object obj) + cdef char* _cstr(object s) |
