Ignore:
Timestamp:
Feb 9, 2011, 9:06:13 PM (15 years ago)
Author:
dmik
Message:

jdk/jsound: Using extern "C" around headers is plain wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/src/share/native/com/sun/media/sound/DirectAudio.h

    r2 r254  
    5757#if (USE_DAUDIO == TRUE)
    5858
     59#ifdef __cplusplus
     60extern "C" {
     61#endif
     62
    5963// callback from GetFormats, implemented in DirectAudioDevice.c
    6064void DAUDIO_AddAudioFormat(void* creator, int significantBits, int frameSizeInBytes,
     
    98102void DAUDIO_Service(void* id, int isSource);
    99103
     104#ifdef __cplusplus
     105} /* extern "C" */
     106#endif
     107
    100108#endif // USE_DAUDIO
    101109
Note: See TracChangeset for help on using the changeset viewer.