Hi Mindaugas, >> All non static functions from linked .prg module are automatically >> registered in global symbol table so I guess you are talking about >> C code. > > Yes, you are right. I should remember myself, that his effect happens > if functions are implemented in C. > > Do you think it will be a good practice to add a define like: > #define HB_CAIRO_REQUEST_EXTERN > #include "hbcairo.ch" > and put request for all library functions into hbcairo.ch inside ifdef? > > Define name can have another structure is this is not suitable: > HB_CAIRO_EXTERN, HB_CAIRO_REQUEST_LIBRARY, HB_EXTERN_CAIRO, etc.
Sorry to jump in, but wouldn't it be cleaner to add hbcaiext.ch (or some other 8.3 name) just like we do for other contrib and core? It seems more straightforward to use to me, it's also cleaner to maintain, as the separate file can be much easier generated by automated tool. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour