Changeset 874:fdb9418acb60 in roaraudio for include/roaraudio.h


Ignore:
Timestamp:
10/03/08 16:40:39 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use *_DECLS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r780 r874  
    6666#define roar_uintm16 uint16_t 
    6767#endif 
     68 
     69#ifndef __BEGIN_DECLS 
     70#ifdef __cplusplus 
     71# define __BEGIN_DECLS extern "C" { 
     72# define __END_DECLS } 
     73#else 
     74# define __BEGIN_DECLS 
     75# define __END_DECLS 
     76#endif 
     77#endif 
     78 
     79__BEGIN_DECLS 
    6880 
    6981#include <roaraudio/proto.h> 
     
    180192#endif 
    181193 
     194__END_DECLS 
     195 
    182196#endif 
    183197 
Note: See TracChangeset for help on using the changeset viewer.