--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAAZxu4yOBaEb6ZJze6NK-_So93LxQCMAZAV-bPB02-fS8TvOmw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAORbNRqPyNPFLxx5LbQQwGnNUgHscqQiTnU4-A6y_2gd536EkA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/adc353f4-c4a1-4727-ba88-1c0dccb634f4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/adc353f4-c4a1-4727-ba88-1c0dccb634f4%40googlegroups.com.
implement
{}(*tmp*)
string_sing (c) = let
val (pfat, pfgc | p) = malloc_gc (i2sz(2))
val ((*void*)) = $UN.ptr0_set<char> (p, c)
val ((*void*)) = $UN.ptr0_set_at<char> (p, 1, '\000')
in
$UN.castvwtp0{strnptr(1)}((pfat, pfgc | p))
end // end of [string_sing]
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/d3b53554-07e6-44fb-8a50-492b469312dc%40googlegroups.com.