Update C headers to be C++

This commit is contained in:
2024-04-07 10:46:35 -05:00
parent 6702e60864
commit 3ef946ad4b
58 changed files with 153 additions and 225 deletions

View File

@@ -1,5 +1,5 @@
#pragma once
#include "../../stddef.h"
#include "../../stddef.hpp"
namespace JabyEngine {
template<typename T>

View File

@@ -1,5 +1,5 @@
#pragma once
#include "../jabyengine_defines.h"
#include "../jabyengine_defines.hpp"
#include "types.hpp"
namespace JabyEngine {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "../../stdint.h"
#include "../../stdint.hpp"
namespace JabyEngine {
static constexpr int8_t operator""_i8(unsigned long long int value) {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "../../stddef.h"
#include "../../stddef.hpp"
#include "array_range.hpp"
#include "types.hpp"

View File

@@ -1,6 +1,6 @@
#pragma once
#include "types.hpp"
#include <stddef.h>
#include <stddef.hpp>
namespace JabyEngine {
template<typename T>

View File

@@ -1,5 +1,5 @@
#pragma once
#include "../../stdint.h"
#include "../../stdint.hpp"
namespace JabyEngine {
uint16_t unaligned_lhu(const uint8_t* adr) {