Skip to content

Commit e8b7aa8

Browse files
committed
Add missing pointer type definitions in ctypes.inc
1 parent 5d349f1 commit e8b7aa8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

units/ctypes.inc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,14 @@ type
8888
cfloat = Single;
8989
{$EXTERNALSYM cfloat}
9090

91-
(* Based on: https://en.cppreference.com/w/c/language/arithmetic_types#Data_models *)
91+
pcint = ^cint;
92+
pcuint = ^cuint;
93+
pclong = ^clong;
94+
pculong = ^culong;
95+
{
96+
Integer type sizes based on:
97+
https://en.cppreference.com/w/c/language/arithmetic_types#Data_models
98+
}
9299
cint = cint32;
93100
cuint = cuint32;
94101
{$IF DEFINED(CPU32) OR DEFINED(CPU32BITS)}

0 commit comments

Comments
 (0)