Core: Modernize C headers with C++ equivalents
This commit is contained in:
@ -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);
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
enum JoltJointWorldNode : int {
|
||||
JOLT_JOINT_WORLD_NODE_A,
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
#include "Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace JoltBroadPhaseLayer {
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
#include "Jolt/Core/TempAllocator.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
class JoltTempAllocator final : public JPH::TempAllocator {
|
||||
uint64_t capacity = 0;
|
||||
|
||||
Reference in New Issue
Block a user