Menu

#340 [Cython] Methods of a cppclass in a .pxd file not indexed

open
nobody
None
5
2012-12-08
2012-12-08
No

Hi,

Methods in this class are not found by CTags:

cdef cppclass CefBrowser(CefBase):
c_bool CanGoBack()
c_bool CanGoForward()

In a cppclass you can't precede method with "cdef", it is not allowed, and ctags seems to only index stuff preceded with "cdef".

Also, the same problem happens for global functions that do not have "cdef" (which is optional):

cdef extern from "include/cef_response.h":
int GetStatus()

This won't get indexed, but is a valid Cython code, I need to add "cdef" so that CTags sees it:

cdef extern from "include/cef_response.h":
cdef int GetStatus()

Using ctags 5.8 on Windows.

Czarek.

Discussion


Log in to post a comment.