From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/nmemio/zz.x | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys/nmemio/zz.x (limited to 'sys/nmemio/zz.x') diff --git a/sys/nmemio/zz.x b/sys/nmemio/zz.x new file mode 100644 index 00000000..c81f1506 --- /dev/null +++ b/sys/nmemio/zz.x @@ -0,0 +1,11 @@ +task hello = t_hello + +procedure t_hello() +pointer t1, t2 +begin + call malloc (t1, SZ_LINE, TY_CHAR) + call mfree (t1, TY_CHAR) + + call malloc (t2, SZ_LINE, TY_INT) + call mfree (t2, TY_INT) +end -- cgit