comparison 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
comparison
equal deleted inserted replaced
226:c244a1ecb6c3 227:a2f99632a80c
1 #ifndef __FUTURE_H__ 1 #ifndef __FUTURE_H__
2 #define __FUTURE_H__ 2 #define __FUTURE_H__
3
4 #define PTR_TO_INT(p) ((int) ((intptr_t)(p)))
5 #define INT_TO_PTR(u) ((void *) ((intptr_t)(u)))
3 6
4 double round(double x); 7 double round(double x);
5 8
6 typedef unsigned int time_t; 9 typedef unsigned int time_t;
7 typedef long int suseconds_t; 10 typedef long int suseconds_t;