On Tue, 23 Jun 2009, Szak�ts Viktor wrote:

Hi,

> Very nice job April.
> I was wondering what would it take to generate a *full*
> equivalent to include/hbextern.ch.
> Few issues which need to be solved to achieve that:
> - Add HB_CODEPAGE_* symbols (from source/codepage/*.c)
> - Add HB_LANG_* symbols (from source/lang/*.c)
> - Honor #if protections to keep source and hbextern.ch
>   in sync with each other.
> - Deleted FM_STAT, FM_NOSTAT (do we need these anyway?)
> - Some classes are not picked, like XPP_TBROWSE.
> - Some wrong picks like WORKS in getsys.prg.
>   (maybe some more)
> If this would be in place, generation of hbextern.ch could be
> made completely automatic, which would be a great step
> for easier maintenance, and also to avoid getting the file
> unsynced with actual sources.

Without #define preprocessing it's hard to create real list
of functions. It's much easier to create it from final binaries, f.e.
in MinGW build by:
   nm harbour-20.dll|grep " T _HB_FUN_" | cut -c20- > func.lst

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to