diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/nmemio/zz.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'sys/nmemio/zz.x')
-rw-r--r-- | sys/nmemio/zz.x | 11 |
1 files changed, 11 insertions, 0 deletions
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 |