Core: Modernize C headers with C++ equivalents

This commit is contained in:
Thaddeus Crews
2025-04-28 16:05:13 -05:00
parent a8ece29adc
commit 01fc9aee6c
101 changed files with 126 additions and 168 deletions

View File

@ -42,7 +42,7 @@
#include "Jolt/RegisterTypes.h"
#include <stdarg.h>
#include <cstdarg>
void *jolt_alloc(size_t p_size) {
return Memory::alloc_static(p_size);

View File

@ -30,7 +30,7 @@
#pragma once
#include <stdint.h>
#include <cstdint>
enum JoltJointWorldNode : int {
JOLT_JOINT_WORLD_NODE_A,

View File

@ -34,7 +34,7 @@
#include "Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h"
#include <stdint.h>
#include <cstdint>
namespace JoltBroadPhaseLayer {

View File

@ -34,7 +34,7 @@
#include "Jolt/Core/TempAllocator.h"
#include <stdint.h>
#include <cstdint>
class JoltTempAllocator final : public JPH::TempAllocator {
uint64_t capacity = 0;