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
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to