gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Procedure Const parameter?


From: Hưng Hưng
Subject: Procedure Const parameter?
Date: Sat, 21 Mar 2020 21:32:36 +0700

Free Pascal has this: procedure test(const x: pchar);

What is the equivalent in gm2?

I want a const pointer. e.g:

type test = pointer to integer;
procedure testit(const x: test);

I need it to be able to complete the translation of the C header to gm2.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]