From 617f5b17ba7f717468f4624b90a55fe311fa302f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 2 Dec 2014 16:28:56 -0500 Subject: [PATCH] lib/c: add doc on `NATIVE` and `native_array` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/c.nit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/c.nit b/lib/c.nit index 6c50cf8..3732085 100644 --- a/lib/c.nit +++ b/lib/c.nit @@ -23,7 +23,10 @@ intrude import standard::collection::array abstract class CArray[E] super AbstractArrayRead[E] + # The corresponding C type type NATIVE: NativeCArray + + # Pointer to the real C array var native_array: NATIVE is noinit private init(length: Int) do self._length = length -- 1.7.9.5