Mercurial > hg > fxanalyse
diff future.h @ 227:a2f99632a80c
Implement N estimate tacking into account measured beatnote frequency
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 19 Sep 2014 19:04:47 +0200 |
parents | b955e35c07ae |
children | ec81395bf08d |
line wrap: on
line diff
--- a/future.h Thu Sep 18 18:50:16 2014 +0200 +++ b/future.h Fri Sep 19 19:04:47 2014 +0200 @@ -1,6 +1,9 @@ #ifndef __FUTURE_H__ #define __FUTURE_H__ +#define PTR_TO_INT(p) ((int) ((intptr_t)(p))) +#define INT_TO_PTR(u) ((void *) ((intptr_t)(u))) + double round(double x); typedef unsigned int time_t;