<div dir="ltr"><pre style="color:rgb(17,17,17)">How can I describe a "pointer to a constant char" in FreePascal?
For example this C function:
int some_func(const char *arg, ...);
My guess in FreePascal is this(with ctypes unit):
function some_func(const arg: pcchar): cint; cdecl; external;
A constant argument to a function.
I'm not sure, is it a "constant pointer to a char", or a "pointer to a constant char".</pre><div><br></div>-- <br>Alex
</div>