NO

Author Topic: List of functions for a code file  (Read 3291 times)

post from old forum

  • Guest
List of functions for a code file
« 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!

post from old forum

  • Guest
List of functions for a code file
« Reply #1 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

post from old forum

  • Guest
List of functions for a code file
« Reply #2 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

post from old forum

  • Guest
List of functions for a code file
« Reply #3 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