|
From: | Benjamin Kowarsch |
Subject: | Re: [Gm2] Interfacing to C -- How do we map size_t to Modula-2? |
Date: | Fri, 14 Jul 2017 02:35:12 +0900 |
I have been reading the XDS Modula-2 docs and ... surprise, surprise ... XDS's SYSTEM module does in fact export a type size_t. I think GM2 should follow that example. IMPORT SYSTEM; PROCEDURE strlen(s: ARRAY OF CHAR): SYSTEM.size_t; This is the safest way to do it. |
[Prev in Thread] | Current Thread | [Next in Thread] |