OSLibSupport and C++

Alexander Thoukydides alex at thouky.co.uk
Sun Jun 4 13:31:08 BST 2000


None of the OSLibSupport header files include the extern "C" directives
required to allow usage from C++ code.

At the moment it is necessary to use untidy looking code like:

    extern "C" {
    #include "event.h"
    }
    
Would it be possible to have the usual

    #ifdef __cplusplus
        extern "C" {
    #endif
    
    // ...

    #ifdef __cplusplus
        }
    #endif

lines added to these files in the next release?
-- 
--  Alexander Thoukydides  Email: mailto:alex at thouky.co.uk
--  Bournemouth, England     WWW: http://www.thouky.co.uk/
... Documentation is the castor oil of programming.
... Managers know it must be good because the programmers hate it so much.




More information about the oslib-user mailing list