Pelles C forum

Pelles C => Feature requests => Topic started by: post from old forum on September 14, 2004, 04:25:53 am

Title: List of functions for a code file
Post by: post from old forum on September 14, 2004, 04:25:53 am
The list for functions in a code file within the project window is very good. But I have a small problem with a #define:
I used to declare my functions as following:

void LIBFUNC(Function_Name, (int arg1, int arg2));

Where LIBFUNC is defined:
#define LIBFUNC(name, args) MyLib_##name args

In the project window all my functions are now named "LIBFUNC", perhaps this could me changed...?


Kindly regards,
Andreas Martin


PS: Good work Pelle!
Title: List of functions for a code file
Post by: post from old forum on September 14, 2004, 04:26:18 am
Probably not. At least not now. The browse information builder (which also builds the list of functions) does not read any #include files for a C source file, nor does it do any preprocessing (like the compiler). This would take to long, on some computers.

Pelle
Title: List of functions for a code file
Post by: post from old forum on September 14, 2004, 04:26:44 am
Hi Pelle,

in lcc-win32 the functions are omitted i.e. as LIBFUNC(MyFunction).
Perhaps you find it useful...

Cheers,
Andreas
Title: List of functions for a code file
Post by: post from old forum on September 14, 2004, 04:27:09 am
Hello Andreas,

I see what I can do. I'm just saying that the browse information builder (POBR) isn't the smartest kid in town, but this is mostly for performance reasons.

Pelle