bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GLOBAL does not index C inline function


From: Per Nordlöw
Subject: GLOBAL does not index C inline function
Date: Mon, 10 Nov 2008 09:50:53 +0100

One of the reasons that I prefer Exuberant Ctags over GNU GLOBAL (yet) is because it doesn't index my C inline functions.
And I use lot of them in some parts of my projects.
It would be superb if it did.

I know quit a lot about programming in C/C++ with the GNU toolchain and also a bit about flex/bison.
Perhaps I could fix it if you only told me which files/functions/variables I need to dig into and alter to enable this feature.

Example function that doesn't get added to database (yet)

static inline char *
memdup(const char *s, size_t n)
{
  char * t = (char*)malloc(n);
  memcpy(t, s, n);
  return t;
}

I have tested without the static keyword and with __inline__ instead but it makes no difference.


Thanks in advance,
Per Nordlöw

reply via email to

[Prev in Thread] Current Thread [Next in Thread]