dsys2

diff src/dsys2.h @ 10:5ba9dd6742a0

fixed a crash
author John Tsiombikas <nuclear@siggraph.org>
date Sun, 04 Sep 2011 06:44:49 +0300
parents 80f86f0f67ec
children
line diff
     1.1 --- a/src/dsys2.h	Fri Sep 02 19:12:12 2011 +0300
     1.2 +++ b/src/dsys2.h	Sun Sep 04 06:44:49 2011 +0300
     1.3 @@ -13,6 +13,9 @@
     1.4  	DSYS_PERIODIC
     1.5  };
     1.6  
     1.7 +#ifdef __cplusplus
     1.8 +extern "C" {
     1.9 +#endif
    1.10  
    1.11  struct dsys_demo *dsys_open(const char *fname);
    1.12  struct dsys_demo *dsys_open_stream(FILE *fp);
    1.13 @@ -60,5 +63,9 @@
    1.14  float dsys_dtime_to_sec(demotime_t tm);
    1.15  unsigned long dsys_dtime_to_msec(demotime_t tm);
    1.16  
    1.17 +#ifdef __cplusplus
    1.18 +}
    1.19 +#endif
    1.20 +
    1.21  
    1.22  #endif	/* DSYS2_H_ */