annotate src/include/utils.h @ 10:42ac054c0231

*: huge refactoring dirtools now uses wchar (wayyy overdue) the timer doesn't have a stupid design anymore we don't use windows.h at all now ...
author Paper <paper@paper.us.eu.org>
date Sun, 11 Feb 2024 19:43:31 -0500
parents 07f0e2f43204
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
be4835547dd0 clean up code, convert git files to hg, etc.
Paper
parents:
diff changeset
1 #ifndef __utils_h
be4835547dd0 clean up code, convert git files to hg, etc.
Paper
parents:
diff changeset
2 #define __utils_h
be4835547dd0 clean up code, convert git files to hg, etc.
Paper
parents:
diff changeset
3
10
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 9
diff changeset
4 #include <stdint.h>
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 9
diff changeset
5
9
07f0e2f43204 *: add the restrict keyword when necessary
Paper
parents: 7
diff changeset
6 uint64_t get_system_time_in_milliseconds(void);
07f0e2f43204 *: add the restrict keyword when necessary
Paper
parents: 7
diff changeset
7 uint32_t crc32b(unsigned char *message);
7
be4835547dd0 clean up code, convert git files to hg, etc.
Paper
parents:
diff changeset
8
10
42ac054c0231 *: huge refactoring
Paper <paper@paper.us.eu.org>
parents: 9
diff changeset
9 #endif