Viktor Szakats bd69c68625 2009-06-13 20:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbxbp/hbqt.ch
  * contrib/hbqt/Makefile
  + contrib/hbqt/hbqt.ch
    * Moved hbqt.ch under hbqt library.

  * contrib/hbxbp/Makefile
  - contrib/hbxbp/apigeneric.cpp
  + contrib/hbxbp/xbp_temp.prg
    ! Converted stub functions from C++ to .prg code.
      Functionality unchanged.
    ! This also fixed <windows.h> reference in old .cpp file,
      so now hbxbp can be built on non-Windows systems.

  * contrib/hbwin/wapi_winbase.c
    + Added new API wrapper:
      WAPI_OUTPUTDEBUGSTRING()
      NOTE: If "outdebug" functionality is needed temporarly
            to debug any Harbour code, above call can be used
            and it's enough to add hbwin to the liblist. It's
            very important however, to only enable these calls
            in _local Windows environment_, firstly to not create
            any Windows dependence for portable libs, secondly
            to not create an unwanted hbwin lib dependence
            even on Windows-only libs.
            I suggest using something like this:
            ---
            #if defined( __HB_OUTDEBUG__ )
               #xtranslate HB_OUTDEBUG( [<x>] ) => WAPI_OUTPUTDEBUGSTRING( <x> )
            #else
               #xtranslate HB_OUTDEBUG( [<x>] ) =>
            #endif
            [...]
            HB_OUTDEBUG( "my Windows-only trace call" )
            ---
            And simply use 'set HB_USER_PRGFLAGS=-D__HB_OUTDEBUG__'
            in local Windows environment to enable it.
            Probably similar can be added for .c level.
            ******************************************************
            Anyhow, I'd *strongly* suggest to use portable tracing
            techniques like our existing HB_TRACE().
            ******************************************************
2009-06-13 18:44:56 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%