gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Interfacing to C -- How do we map size_t to Modula-2?


From: john o goyo
Subject: Re: [Gm2] Interfacing to C -- How do we map size_t to Modula-2?
Date: Thu, 13 Jul 2017 09:57:15 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15

On 13/07/2017 08:46, Benjamin Kowarsch wrote:
Hi again,

I am writing a foreign definition module to interface to C.

How do I map size_t to Modula-2?

https://github.com/m2sf/m2pp/blob/master/src/stdio.gm2.def

Apologies if this has been asked before but the documentation for interfacing to C on the GM2 website is just too spartan.
I would suggest looking at the interface to ncurses in the example directory.

Sincerely,
john



reply via email to

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