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". -- Alex
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal