Mercurial > minori
comparison dep/utf8proc/bench/util.h @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Thu, 20 Jun 2024 05:56:06 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 342:adb79bdde329 | 343:1faa72660932 |
|---|---|
| 1 #ifndef UTIL_H | |
| 2 #define UTIL_H 1 | |
| 3 | |
| 4 #include <inttypes.h> | |
| 5 #include <sys/time.h> | |
| 6 #include <time.h> | |
| 7 | |
| 8 #ifdef __cplusplus | |
| 9 extern "C" { | |
| 10 #endif | |
| 11 | |
| 12 uint8_t *readfile(const char *filename, size_t *len); | |
| 13 | |
| 14 typedef struct timeval mytime; | |
| 15 mytime gettime(void); | |
| 16 double elapsed(mytime t1, mytime t0); | |
| 17 | |
| 18 #ifdef __cplusplus | |
| 19 } | |
| 20 #endif | |
| 21 | |
| 22 #endif /* UTIL_H */ |
