فهرست منبع

add size.h and types.h

greatbridf 4 سال پیش
والد
کامیت
b69d4d795d
2فایلهای تغییر یافته به همراه10 افزوده شده و 0 حذف شده
  1. 6 0
      include/types/size.h
  2. 4 0
      include/types/types.h

+ 6 - 0
include/types/size.h

@@ -0,0 +1,6 @@
+#pragma once
+
+#include "stdint.h"
+
+typedef uint32_t ptr_t;
+typedef int32_t diff_t;

+ 4 - 0
include/types/types.h

@@ -0,0 +1,4 @@
+#pragma once
+
+#include "size.h"
+#include "stdint.h"