box2d: update to 3.1.0

This commit is contained in:
Laytan Laats
2025-04-22 22:38:15 +02:00
parent c7f9d2b1b7
commit e086151fcd
15 changed files with 1204 additions and 706 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifdef __cplusplus
extern "C" {
#endif
#pragma once
#include <stdint.h>
#define CLOCK_MONOTONIC 1
struct timespec
{
int64_t tv_sec;
int64_t tv_nsec;
};
int clock_gettime(int clockid, struct timespec *tp);
int sched_yield();
#ifdef __cplusplus
}
#endif